I had the latest sentora installed on my CentOS 7. PHP version was 5.4. I had 4 sites which are all down now... : need help.
I was trying to update my PHP, but when I used yum update php, this is what I got:
I tried using --skip-broken, then rebooted, but my version it didnt help. I searched and came across a site which I followed (Can't install PHP Package on CentOS).
Basically this is what I typed first:
got exactly the same error as before (so I guess it did nothing). Then I did this:
This is the error I got (so I though part of the problem has been resolved):
But just in case, I visited my website, and now am getting a 502 error - I cant even connect to. When I try to reinstall sentora (so that maybe it'll fix it), it says it needs a clean server as mariadb is already installed!! Please help me!!
regards
I was trying to update my PHP, but when I used yum update php, this is what I got:
Code:
Error: Package: gd-last-2.2.4-1.el6.remi.x86_64 (remi)
Requires: libwebp.so.5()(64bit)
Error: Package: php-mysql-5.4.45-13.el6.remi.x86_64 (remi)
Requires: php-pdo(x86-64) = 5.4.45-13.el6.remi
Removing: php-pdo-5.4.16-42.el7.x86_64 (@base)
php-pdo(x86-64) = 5.4.16-42.el7
Updated By: php-pdo-5.6.30-1.el6.remi.x86_64 (remi-php56)
php-pdo(x86-64) = 5.6.30-1.el6.remi
Available: php-pdo-5.4.45-13.el6.remi.x86_64 (remi)
php-pdo(x86-64) = 5.4.45-13.el6.remi
Available: php-pdo-5.6.29-1.el6.remi.x86_64 (remi-php56)
php-pdo(x86-64) = 5.6.29-1.el6.remi
Error: Package: php-5.6.30-1.el6.remi.x86_64 (remi-php56)
Requires: httpd-mmn = 20051115
Installed: httpd-2.4.6-40.el7.centos.4.x86_64 (@updates)
httpd-mmn = 20120211
httpd-mmn = 20120211x8664
httpd-mmn = 20120211-x86-64
Available: httpd-2.4.6-45.el7.centos.x86_64 (base)
httpd-mmn = 20120211x8664
httpd-mmn = 20120211-x86-64
httpd-mmn = 20120211
Available: httpd-2.4.6-45.el7.centos.4.x86_64 (updates)
httpd-mmn = 20120211x8664
httpd-mmn = 20120211-x86-64
httpd-mmn = 20120211
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
I tried using --skip-broken, then rebooted, but my version it didnt help. I searched and came across a site which I followed (Can't install PHP Package on CentOS).
Basically this is what I typed first:
Code:
yum install epel-release
rpm -Uvh https://mirror.webtatic.com/yum/el7/webtatic-release.rpm
yum clean
yum update
Code:
yum update -y; yum remove httpd && yum install httpd; yum install php56w-common php56w-opcache php56w-mysql
Code:
Error: Package: gd-last-2.2.4-1.el6.remi.x86_64 (remi)
Requires: libwebp.so.5()(64bit)
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest
regards