PHPextensionmcryptmustbeloaded. an error is prompted when magento is installed:
PHP extension "mcrypt" must be loaded.
Then yum install mcypt * does not find any package ....
Find another method.
I used to introduce new extension libraries.
Open URL: http://mirrors.sohu.com/fedora-epel/6/i386/ use Ctrl + F search keyword "epel-release" find the latest extension package found latest version: epel-release-6-8.noarch.rpm
Then run the following command:
rpm -ivh http://mirrors.sohu.com/fedora-epel/6/i386/epel-release-6-8.noarch.rpm
There will be some errors, regardless of him.
Then, run the following command:
yum update
There is a small problem in the middle:
Error: Cannot retrieve metalink for repository: epel. Please verify its path and try again
Run vi/etc/yum. repos. d/epel. repo to uncomment the three baseurls in the file and comment out the three referers.
Then, run the following command:
yum repolist
Display if:
Epel Extra Packages for Enterprise Linux 6-i386
Indicates that the extension Library is successfully installed.
After the extension Library is installed, you can directly use yum to install it.
Run the following command:
yum install php-mcrypt
OK.