• If you are still using CentOS 7.9, it's time to convert to Alma 8 with the free centos2alma tool by Plesk or Plesk Migrator. Please let us know your experiences or concerns in this thread:
    CentOS2Alma discussion

I broke Apache upgrading php

T

talon39

Guest
I was trying to upgrade PHP from 4.3.9 to 4.3.11.2.6
I used an rpm i downloaded php-4.3.11-2.6.i386.rpm.
I used the -nodeps option.
Now apache will not restart. How do I get back where I was?
Yes I know Im a dumbass. Please help me.
 
not a very smart move indeed...

you can try to remove the new rpm and re-install the older one.

or you can list all your php rpm's (rpm -qa | grep ^php), upgrade the remaining php-* packages, and double check your /etc/php.ini, /etc/php.d/*, /etc/httpd/conf.d/php.conf and /etc/httpd/conf/httpd.conf.
 
if you have the old php rpms you might try this:

# rpm -Uvh --oldpackage foo-1-1.i386.rpm

-poke
 
Unfortunately the original version came installed on the server.
 
That sucks :(

I've given you all the resources I have. How important is this box?
 
Back
Top