phpmyadmin mcrypt extension is missing

强颜欢笑 提交于 2019-12-10 10:18:45

问题


I'm using CentOS 6 and the latest phpMyAdmin (4.0.1.4) and I noticed the error "The mcrypt extension is missing. Please check your PHP configuration."

I went ahead and ran:

 rpm -ivh http://dl.fedoraproject.org/pub/epel/6/x86_64/epel-release-6-8.noarch.rpm

then ran:

yum install php-mycrypt

Then restarted httpd services and still no luck.

Any idea how I can get it to go away?


回答1:


According to this post, you should edit /etc/php.d/mcrypt.ini and change

; Enable mcrypt extension module
extension=module.so

to

; Enable mcrypt extension module
extension=mcrypt.so

and then restart.




回答2:


On Ubuntu Try this for your mcrypt problem:

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



回答3:


I know you asked for CentOS 6, but in case someone happens to have the same problem for OSX lion/mountain lion, here is a solution

Basically they make you (re)install libmcrypt and the latest version of php, and if you don't have it, autoconf.

Just follow the tutorial, it should work flawlessly.




回答4:


In CentOS, Yum did not work for me. I downloaded and installed libmcrypt-*.tar.gz. See similar instruction in this link. http://www.php.net/manual/en/mcrypt.installation.php.




回答5:


Mac OS X Yosemite

the requested PHP extension mcrypt is missing from your system

I fixed this error by running the following commands in my Terminal :

brew update
brew upgrade
brew tap homebrew/dupes
brew tap josegonzalez/homebrew-php
brew install php54-mcrypt


来源:https://stackoverflow.com/questions/17415135/phpmyadmin-mcrypt-extension-is-missing

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!