Hi all, Please help me: I updated but have some problem :
[root@Tokithemes ~]# yum install -y php56w php56w-opcache php56w-xml php56w-mcrypt php56w-gd php56w-devel php56w-mysql php56w-intl php56w-mbstring Loaded plugins: fastestmirror Setting up Install Process Loading mirror speeds from cached hostfile epel/metalink | 13 kB 00:00
Dependencies Resolved
Installing: php56w x86_64 5.6.14-2.w6 webtatic 2.7 M php56w-devel x86_64 5.6.14-2.w6 webtatic 2.6 M php56w-gd x86_64 5.6.14-2.w6 webtatic 143 k php56w-intl x86_64 5.6.14-2.w6 webtatic 177 k php56w-mbstring x86_64 5.6.14-2.w6 webtatic 942 k php56w-mcrypt x86_64 5.6.14-2.w6 webtatic 24 k php56w-mysql x86_64 5.6.14-2.w6 webtatic 109 k php56w-opcache x86_64 5.6.14-2.w6 webtatic 99 k php56w-xml x86_64 5.6.14-2.w6 webtatic 146 k Installing for dependencies: apr x86_64 1.3.9-5.el6_2 base 123 k apr-util x86_64 1.3.9-3.el6_0.1 base 87 k apr-util-ldap x86_64 1.3.9-3.el6_0.1 base 15 k autoconf noarch 2.63-5.1.el6 base 781 k automake noarch 1.11.1-4.el6 base 550 k httpd x86_64 2.2.15-47.el6.centos updates 830 k httpd-tools x86_64 2.2.15-47.el6.centos updates 77 k libicu x86_64 4.2.1-12.el6 base 4.9 M mailcap noarch 2.1.31-2.el6 base 27 k pcre-devel x86_64 7.8-7.el6 base 320 k php56w-cli x86_64 5.6.14-2.w6 webtatic 2.6 M php56w-common x86_64 5.6.14-2.w6 webtatic 1.2 M php56w-pdo x86_64 5.6.14-2.w6 webtatic 93 k Updating for dependencies: pcre x86_64 7.8-7.el6 base 196 k
Install 22 Package(s) Upgrade 1 Package(s)
Total size: 19 M Downloading Packages: Running rpm_check_debug Running Transaction Test
Transaction Check Error: file /usr/lib64/php-zts/modules/json.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-pecl-jsonc-1.3.7-1.el6.remi.5.6.x86_64 file /usr/lib64/php/modules/json.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-pecl-jsonc-1.3.7-1.el6.remi.5.6.x86_64 file /usr/lib64/php-zts/modules/zip.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-pecl-zip-1.12.5-1.el6.remi.5.6.x86_64 file /usr/lib64/php/modules/zip.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-pecl-zip-1.12.5-1.el6.remi.5.6.x86_64 file /etc/php.ini from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php-zts/modules/bz2.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php/modules/bz2.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php-zts/modules/calendar.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php/modules/calendar.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php-zts/modules/ctype.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php/modules/ctype.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php-zts/modules/curl.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php/modules/curl.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php-zts/modules/exif.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php/modules/exif.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php-zts/modules/fileinfo.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php/modules/fileinfo.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php-zts/modules/ftp.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php/modules/ftp.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php-zts/modules/gettext.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php/modules/gettext.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php-zts/modules/iconv.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php/modules/iconv.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php-zts/modules/phar.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php/modules/phar.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php-zts/modules/sockets.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php/modules/sockets.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php-zts/modules/tokenizer.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php/modules/tokenizer.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-common-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php-zts/modules/pdo.so from install of php56w-pdo-5.6.14-2.w6.x86_64 conflicts with file from package php-pdo-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php/modules/pdo.so from install of php56w-pdo-5.6.14-2.w6.x86_64 conflicts with file from package php-pdo-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php-zts/modules/pdo_sqlite.so from install of php56w-pdo-5.6.14-2.w6.x86_64 conflicts with file from package php-pdo-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php/modules/pdo_sqlite.so from install of php56w-pdo-5.6.14-2.w6.x86_64 conflicts with file from package php-pdo-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php-zts/modules/sqlite3.so from install of php56w-pdo-5.6.14-2.w6.x86_64 conflicts with file from package php-pdo-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php/modules/sqlite3.so from install of php56w-pdo-5.6.14-2.w6.x86_64 conflicts with file from package php-pdo-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php-zts/modules/mcrypt.so from install of php56w-mcrypt-5.6.14-2.w6.x86_64 conflicts with file from package php-mcrypt-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php/modules/mcrypt.so from install of php56w-mcrypt-5.6.14-2.w6.x86_64 conflicts with file from package php-mcrypt-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php-zts/modules/simplexml.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-xml-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php/modules/simplexml.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-xml-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php-zts/modules/xml.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-xml-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php/modules/xml.so from install of php56w-common-5.6.14-2.w6.x86_64 conflicts with file from package php-xml-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php-zts/modules/dom.so from install of php56w-xml-5.6.14-2.w6.x86_64 conflicts with file from package php-xml-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php/modules/dom.so from install of php56w-xml-5.6.14-2.w6.x86_64 conflicts with file from package php-xml-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php-zts/modules/wddx.so from install of php56w-xml-5.6.14-2.w6.x86_64 conflicts with file from package php-xml-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php/modules/wddx.so from install of php56w-xml-5.6.14-2.w6.x86_64 conflicts with file from package php-xml-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php-zts/modules/xmlreader.so from install of php56w-xml-5.6.14-2.w6.x86_64 conflicts with file from package php-xml-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php/modules/xmlreader.so from install of php56w-xml-5.6.14-2.w6.x86_64 conflicts with file from package php-xml-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php-zts/modules/xmlwriter.so from install of php56w-xml-5.6.14-2.w6.x86_64 conflicts with file from package php-xml-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php/modules/xmlwriter.so from install of php56w-xml-5.6.14-2.w6.x86_64 conflicts with file from package php-xml-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php-zts/modules/xsl.so from install of php56w-xml-5.6.14-2.w6.x86_64 conflicts with file from package php-xml-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php/modules/xsl.so from install of php56w-xml-5.6.14-2.w6.x86_64 conflicts with file from package php-xml-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php-zts/modules/gd.so from install of php56w-gd-5.6.14-2.w6.x86_64 conflicts with file from package php-gd-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php/modules/gd.so from install of php56w-gd-5.6.14-2.w6.x86_64 conflicts with file from package php-gd-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php-zts/modules/mysql.so from install of php56w-mysql-5.6.14-2.w6.x86_64 conflicts with file from package php-mysqlnd-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php/modules/mysql.so from install of php56w-mysql-5.6.14-2.w6.x86_64 conflicts with file from package php-mysqlnd-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php-zts/modules/mysqli.so from install of php56w-mysql-5.6.14-2.w6.x86_64 conflicts with file from package php-mysqlnd-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php/modules/mysqli.so from install of php56w-mysql-5.6.14-2.w6.x86_64 conflicts with file from package php-mysqlnd-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php-zts/modules/pdo_mysql.so from install of php56w-mysql-5.6.14-2.w6.x86_64 conflicts with file from package php-mysqlnd-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php/modules/pdo_mysql.so from install of php56w-mysql-5.6.14-2.w6.x86_64 conflicts with file from package php-mysqlnd-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php-zts/modules/mbstring.so from install of php56w-mbstring-5.6.14-2.w6.x86_64 conflicts with file from package php-mbstring-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php/modules/mbstring.so from install of php56w-mbstring-5.6.14-2.w6.x86_64 conflicts with file from package php-mbstring-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php-zts/modules/opcache.so from install of php56w-opcache-5.6.14-2.w6.x86_64 conflicts with file from package php-opcache-5.6.10-1.el6.remi.x86_64 file /usr/lib64/php/modules/opcache.so from install of php56w-opcache-5.6.14-2.w6.x86_64 conflicts with file from package php-opcache-5.6.10-1.el6.remi.x86_64
Error Summary
These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.
Here is a Solution for Centos 7
Install Repos for PHP 5.6.x rpm -Uvh https://dl.fedoraproject.org/pub/epel/epel-release-latest-7.noarch.rpm rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
Check PHP list Packages yum list installed php
Remove all PHP Packages $ sudo yum remove php php-cli php-common php-gd php-ldap php-mysql php-odbc php-pdo php-pear php-pecl-apc php-pecl-memcache php-pgsql php-soap php-xml php-xmlrpc -y
Restart Apache $ sudo service httpd restart
Install PHP 5.6.x sudo yum install php56w php56w-opcache -y
Install PHP 5.6.x Packages sudo yum install php56w-mcrypt php56w-odbc php56w-pdo php56w-pgsql php56w-soap php56w-xml php56w-gd php56w-mbstring -y
Install MySQL Modules sudo yum install php56w-mysqlnd
Check PHP Version $ php --version
PHP 5.6.21 (cli) (built: May 1 2016 11:06:02) Copyright © 1997-2016 The PHP Group Zend Engine v2.6.0, Copyright © 1998-2016 Zend Technologies with Zend OPcache v7.0.6-dev, Copyright © 1999-2016, by Zend Technologies
Best Regards!