Centos 6.9 php5.6 during installation error: Error: Package: php56w-mcrypt-5.6.40-1.w6.x86_64 (webtatic)

 

During the installation php 5.6 at CentOS 6.9 system, run the following command:

yum -y install php56w-pdo php56w-xml php56w-gd php56w-gd.x86_64 php56w-ldap.x86_64 \
php56w-mbstring.x86_64 php56w-mcrypt.x86_64 php56w-mysql.x86_64 php56w-pdo.x86_64 php56w-opcache.x86_64

 

Error:

Error: Package: php56w-mcrypt-5.6.40-1.w6.x86_64 (webtatic)
        Requires: libmcrypt.so.4()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest

 

According Hint: libmcrypt package

 

Solution:

      Installation epel-release source can be solved.

yum install epel-release -y

 

 

 

Guess you like

Origin www.cnblogs.com/morgan363/p/11865613.html