PHPmyadmin Mcrypt Extension Is Missing

The mcrypt extension is missing. Please check your PHP configuration

Try this:

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

I install mcrypt by homebrew , and phpmyadmin still tell me it's missing

Finally ...... I find a answer for my question.

In this Post,even question in this post was different from mine,but there is a very important idea I forgot.

At last , I use macports to create the same environment of PHP+Apache at /opt/local/xxxx/xxx
,homebrew is different from macports,macports didn't depend system's lib or files as much as possible,so I try to use macports and install mcrypt by:

sudo port install php5-mcrypt

when it's done,I copy crypt.so to php/extension/xxxx/xxxx , and it's work finally,maybe someone can reference this kind of answer :)



Related Topics



Leave a reply



Submit