Error Update PHP 5.6 to PHP 7.1
Posted: 2018/07/19 02:23:01
I want upgrade my PHP 5.6 to 7.1 but I got an error... here the details... thanks!
Code: Select all
[root@vmi136035 ~]# php -v
PHP 5.6.25 (cli) (built: Oct 21 2016 18:00:07)
Copyright (c) 1997-2016 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2016 Zend Technologies
[root@vmi136035 ~]# yum install php71w-fpm php71w-opcache}
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
* Webmin: download.webmin.com
Excluding mirror: mirror.fra10.de.leaseweb.net
* base: asi-fs-n.contabo.net
Excluding mirror: mirror.de.leaseweb.net
Excluding mirror: mirror.nl.leaseweb.net
* epel: mirror.speedpartner.de
Excluding mirror: mirror.fra10.de.leaseweb.net
* extras: centos.alpha-labs.net
* nux-dextop: mirror.li.nux.ro
* remi-safe: mirror.23media.de
Excluding mirror: mirror.fra10.de.leaseweb.net
* updates: asi-fs-n.contabo.net
* webtatic: uk.repo.webtatic.com
No package php71w-opcache} available.
Resolving Dependencies
--> Running transaction check
---> Package php71w-fpm.x86_64 0:7.1.18-1.w7 will be installed
--> Processing Dependency: php71w-common(x86-64) = 7.1.18-1.w7 for package: php71w-fpm-7.1.18-1.w7.x86_64
--> Running transaction check
---> Package php71w-common.x86_64 0:7.1.18-1.w7 will be installed
--> Processing Conflict: php71w-common-7.1.18-1.w7.x86_64 conflicts php-common < 7.1
--> Finished Dependency Resolution
Error: php71w-common conflicts with php-common-5.4.16-45.el7.x86_64
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
[root@vmi136035 ~]#