mCrypt not present after Ubuntu upgrade to 13.10

后端 未结 10 1078
难免孤独
难免孤独 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: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
    

提交回复
热议问题