Join the social network of Tech Nerds, increase skill rank, get work, manage projects...
 
  • Mcrypt extension is missing in phpmyadmin Ubuntu 14.04

    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 0
    • 494
    Comment on it

    How to resolve Mcrypt extension is missing in Ubuntu 14.04 ?

    When I was login to phpmyadmin, then I saw the message "mcrypt extension missing"

    Try following command:

    $ sudo updatedb 
    $ locate mcrypt.ini

    It will show you located at /etc/php5/mods-available

    Now locate mcrypt.so

    $ locate mcrypt.so

    It will show you the following output:

    /usr/lib/libmcrypt.so.4
    /usr/lib/libmcrypt.so.4.4.8
    /usr/lib/php5/20121212/mcrypt.so

    Now write this command:

    $ sudo php5enmod mcrypt

    Verify that new files exists here:

    ls -al /etc/php5/cli/conf.d/20-mcrypt.ini
    ls -al /etc/php5/apache2/conf.d/20-mcrypt.ini

    lrwxrwxrwx 1 root root 31 Mar 21 11:00 /etc/php5/cli/conf.d/20-mcrypt.ini -> ../../mods-available/mcrypt.ini

    lrwxrwxrwx 1 root root 31 Mar 21 11:00 /etc/php5/apache2/conf.d/20-mcrypt.ini -> ../../mods-available/mcrypt.ini

    If it does not show you the output then do the following, Create symbol links now

    $ sudo ln -s /etc/php5/mods-available/mcrypt.ini /etc/php5/cli/conf.d/20-mcrypt.ini
    $ sudo ln -s /etc/php5/mods-available/mcrypt.ini /etc/php5/apache2/conf.d/20-mcrypt.ini

    Restart Apache

    $ sudo service apache2 restart

    All done! Now you will not see any issue related with mcrypt extension missing after login to phpmyadmin.

    Thanks for reading the blog

 0 Comment(s)

Sign In
                           OR                           
                           OR                           
Register

Sign up using

                           OR                           
Forgot Password
Fill out the form below and instructions to reset your password will be emailed to you:
Reset Password
Fill out the form below and reset your password: