mcrypt.ini doesn't exist in my directory

11,233

Install mcrypt for php5,

Command:

sudo apt-get install mcrypt php5-mcrypt
Share:
11,233
Imran
Author by

Imran

Updated on June 04, 2022

Comments

  • Imran
    Imran almost 2 years

    I'm using ubuntu 13.10. I need mcrypt extention on my terminal. My server already have installed it. I follow this question and lunchpad.
    So I execute this commant:

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

    But when I try to above second line sudo php5enmod mcrypt command, Then I see a warning:

    WARNING: Module mcrypt ini file doesn't exist under /etc/php5/mods-available.

    How can I solve this problem?