This forum uses cookies
This forum makes use of cookies to store your login information if you are registered, and your last visit if you are not. Cookies are small text documents stored on your computer; the cookies set by this forum can only be used on this website and pose no security risk. Cookies on this forum also track the specific topics you have read and when you last read them. Please confirm whether you accept or reject these cookies being set.

A cookie will be stored in your browser regardless of choice to prevent you being asked this question again. You will be able to change your cookie settings at any time using the link in the footer.

Updating PHP crashed my server, php still not updated :/
#1
Updating PHP crashed my server, php still not updated :/
I had the latest sentora installed on my CentOS 7. PHP version was 5.4. I had 4 sites which are all down now... :Sad need help.



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
got exactly the same error as before (so I guess it did nothing). Then I did this:
Code:
yum update -y; yum remove httpd && yum install httpd; yum install php56w-common php56w-opcache php56w-mysql
This is the error I got (so I though part of the problem has been resolved):
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
But just in case, I visited my website, and now am getting a 502 error Sad Sad - 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
Reply
Thanks given by:
#2
RE: Updating PHP crashed my server, php still not updated :/
guess I am royally screwed
Reply
Thanks given by:
#3
RE: Updating PHP crashed my server, php still not updated :/
Take a look at this post. You are going about it in the wrong way.
This should get you headed in the right direction.
Everyone makes mistakes, but to truly screw up it takes the root password!
Reply
Thanks given by:


Possibly Related Threads…
Thread Author Replies Views Last Post
Server Crash rsthomas 3 6 ,627 05-18-2022, 09:26 AM
Last Post: Nigel
Server Vs. Workstation zHostingSolutions 4 7 ,768 09-14-2021, 06:30 AM
Last Post: sparkrack
Having both HTTP & HTTPS (Port 443 and Port 80) sites on a server dsmarter 14 42 ,162 08-22-2020, 02:49 PM
Last Post: kenzopoker1

Forum Jump:


Users browsing this thread: 1 Guest(s)