CentOS 7.3 PHP5.6 Can not upgrade to 7.x
by nangluv from LinuxQuestions.org on (#589R8)
Hi guys,
I can not update my PHP to 7.x
when I run to step
PHP Code:yum update -y
It have something here :
PHP Code:--> Processing Dependency: clamav-lib = 0.99.2-1.el7 for package: clamav-server-0.99.2-1.el7.x86_64
--> Processing Dependency: libclamav.so.7()(64bit) for package: clamav-server-0.99.2-1.el7.x86_64
--> Processing Dependency: libclamav.so.7(CLAMAV_PRIVATE)(64bit) for package: clamav-server-0.99.2-1.el7.x86_64
--> Processing Dependency: libclamav.so.7(CLAMAV_PUBLIC)(64bit) for package: clamav-server-0.99.2-1.el7.x86_64
---> Package php-symfony-css-selector.noarch 0:2.8.52-2.el7.remi will be installed
--> Finished Dependency Resolution
Error: Package: clamav-server-0.99.2-1.el7.x86_64 (@epel)
Requires: libclamav.so.7()(64bit)
Removing: clamav-lib-0.99.2-1.el7.x86_64 (@epel)
libclamav.so.7()(64bit)
Updated By: clamav-lib-0.102.4-1.el7.x86_64 (epel)
~libclamav.so.9()(64bit)
Error: Package: clamav-server-0.99.2-1.el7.x86_64 (@epel)
Requires: libclamav.so.7(CLAMAV_PRIVATE)(64bit)
Removing: clamav-lib-0.99.2-1.el7.x86_64 (@epel)
libclamav.so.7(CLAMAV_PRIVATE)(64bit)
Updated By: clamav-lib-0.102.4-1.el7.x86_64 (epel)
~libclamav.so.9(CLAMAV_PRIVATE)(64bit)
Error: Package: clamav-server-0.99.2-1.el7.x86_64 (@epel)
Requires: clamav-filesystem = 0.99.2-1.el7
Removing: clamav-filesystem-0.99.2-1.el7.noarch (@epel)
clamav-filesystem = 0.99.2-1.el7
Updated By: clamav-filesystem-0.102.4-1.el7.noarch (epel)
clamav-filesystem = 0.102.4-1.el7
Error: Package: clamav-server-0.99.2-1.el7.x86_64 (@epel)
Requires: clamav-lib = 0.99.2-1.el7
Removing: clamav-lib-0.99.2-1.el7.x86_64 (@epel)
clamav-lib = 0.99.2-1.el7
Updated By: clamav-lib-0.102.4-1.el7.x86_64 (epel)
clamav-lib = 0.102.4-1.el7
Error: Package: clamav-server-0.99.2-1.el7.x86_64 (@epel)
Requires: libclamav.so.7(CLAMAV_PUBLIC)(64bit)
Removing: clamav-lib-0.99.2-1.el7.x86_64 (@epel)
libclamav.so.7(CLAMAV_PUBLIC)(64bit)
Updated By: clamav-lib-0.102.4-1.el7.x86_64 (epel)
~libclamav.so.9(CLAMAV_PUBLIC)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
now I'm almost I can not check my PHP version
when I run the
PHP Code:php -v
it show that
PHP Code:-bash: php: command not found
Can someone help me for that please !
Thank linuxquestions so much !
Thanks all guys !


I can not update my PHP to 7.x
when I run to step
PHP Code:yum update -y
It have something here :
PHP Code:--> Processing Dependency: clamav-lib = 0.99.2-1.el7 for package: clamav-server-0.99.2-1.el7.x86_64
--> Processing Dependency: libclamav.so.7()(64bit) for package: clamav-server-0.99.2-1.el7.x86_64
--> Processing Dependency: libclamav.so.7(CLAMAV_PRIVATE)(64bit) for package: clamav-server-0.99.2-1.el7.x86_64
--> Processing Dependency: libclamav.so.7(CLAMAV_PUBLIC)(64bit) for package: clamav-server-0.99.2-1.el7.x86_64
---> Package php-symfony-css-selector.noarch 0:2.8.52-2.el7.remi will be installed
--> Finished Dependency Resolution
Error: Package: clamav-server-0.99.2-1.el7.x86_64 (@epel)
Requires: libclamav.so.7()(64bit)
Removing: clamav-lib-0.99.2-1.el7.x86_64 (@epel)
libclamav.so.7()(64bit)
Updated By: clamav-lib-0.102.4-1.el7.x86_64 (epel)
~libclamav.so.9()(64bit)
Error: Package: clamav-server-0.99.2-1.el7.x86_64 (@epel)
Requires: libclamav.so.7(CLAMAV_PRIVATE)(64bit)
Removing: clamav-lib-0.99.2-1.el7.x86_64 (@epel)
libclamav.so.7(CLAMAV_PRIVATE)(64bit)
Updated By: clamav-lib-0.102.4-1.el7.x86_64 (epel)
~libclamav.so.9(CLAMAV_PRIVATE)(64bit)
Error: Package: clamav-server-0.99.2-1.el7.x86_64 (@epel)
Requires: clamav-filesystem = 0.99.2-1.el7
Removing: clamav-filesystem-0.99.2-1.el7.noarch (@epel)
clamav-filesystem = 0.99.2-1.el7
Updated By: clamav-filesystem-0.102.4-1.el7.noarch (epel)
clamav-filesystem = 0.102.4-1.el7
Error: Package: clamav-server-0.99.2-1.el7.x86_64 (@epel)
Requires: clamav-lib = 0.99.2-1.el7
Removing: clamav-lib-0.99.2-1.el7.x86_64 (@epel)
clamav-lib = 0.99.2-1.el7
Updated By: clamav-lib-0.102.4-1.el7.x86_64 (epel)
clamav-lib = 0.102.4-1.el7
Error: Package: clamav-server-0.99.2-1.el7.x86_64 (@epel)
Requires: libclamav.so.7(CLAMAV_PUBLIC)(64bit)
Removing: clamav-lib-0.99.2-1.el7.x86_64 (@epel)
libclamav.so.7(CLAMAV_PUBLIC)(64bit)
Updated By: clamav-lib-0.102.4-1.el7.x86_64 (epel)
~libclamav.so.9(CLAMAV_PUBLIC)(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
now I'm almost I can not check my PHP version
when I run the
PHP Code:php -v
it show that
PHP Code:-bash: php: command not found
Can someone help me for that please !
Thank linuxquestions so much !
Thanks all guys !