mCrypt not present after Ubuntu upgrade to 13.10

后端 未结 10 983
难免孤独
难免孤独 2020-12-04 06:50

After I have upgraded my system from Ubuntu 13.04 to 13.10 several problems have occurred with apache, mysql and php configurations.

I solved most of them but I can

相关标签:
10条回答
  • 2020-12-04 07:18

    Sometimes, this "problem" occurs because you entered an artisan command on your local machine instead of on your virtual machine. If you are using Homestead, mcrypt is already installed. Consider it a reminder to homestead ssh

    0 讨论(0)
  • 2020-12-04 07:22

    I think I found the solution at launchpad.net.

    sudo ln -s /etc/php5/conf.d/mcrypt.ini /etc/php5/mods-available
    sudo php5enmod mcrypt
    sudo service apache2 restart
    

    This worked for me.

    0 讨论(0)
  • 2020-12-04 07:27

    I also have this problem with Ubuntu 14.04 after install.

    First enable the mcrypt

    sudo gedit /etc/php5/apache2/php.ini
    

    Add this command in any line

    extension=mcrypt.so
    

    Create conf.d folder in /etc/php5

    sudo mkdir conf.d
    

    And inside that folder create mcrypt.ini file

    sudo gedit mcrypt.ini 
    

    Then add this command to that file

    extension=mcrypt.so
    

    Then create a link to file

    sudo ln -s /etc/php5/conf.d/mcrypt.ini /etc/php5/mods-available
    

    Enable mcrypt module

    sudo php5enmod mcrypt
    

    Restart apache

    sudo service apache2 restart
    
    0 讨论(0)
  • 2020-12-04 07:31

    I also had this problem with Ubuntu 14.04 and Nginx,but the tip for me was restart the FPM service, so I did:

    Install the library

    apt-get install php5-mcrypt

    Find the path

    updatedb && locate mcrypt.so

    Set the path of mcrypt.so inside the mcrypt.ini file located in /etc/php5/mods-available/mcrypt.ini

    extension=/usr/lib/php5/20121212/mcrypt.so

    And then restart the FPM service

    service php5-fpm restart

    0 讨论(0)
提交回复
热议问题