text mode upgrade from a previous beta cycle.
Whilst flicking through the list of packages
to be installed, came across apache, wondered
why I wanted a webserver, and unselected it
(left mod_* unselected too). I forgot I'd
installed it for some reason previously.
It didn't complain about dependencies, so I got
this on boot/shutdown:
* Starting http... [FAILED]
Cannot load /etc/httpd/modules/libphp3.so into server: /etc/httpd/mod
ules/libphp3.so: cannot open shared object file: No such file or directory.
Not sure whether this is broken dependencies or my fault
for not upgrading it and then leaving it running. Feel free
to close if I'm being stupid :)
Since PHP3 wasn't included in RHL7 or Fisher, I suspect that you've got an old
httpd config file. Is there or was there an old PHP3 package installed?
$ rpm -qa | grep php
$ grep php /tmp/upgrade.log
(There's a list of what it didn't install/upgrade following)
I subsequently upgraded apache and the error above went away.
Looking in /etc/httpd/conf, there's now httpd.conf and httpd.conf.rpmsave
so I guess this is my fault for not having upgraded apache with everything
else in the first place. I had forgotten it was on the machine, so I thought
I wouldn't bother installing it :)
FWIW-here is some information from my boot.log
upgraded Everything install 6.2 --> 7.1beta.
Feb 15 10:17:21 test104 httpd: Syntax error on line 250 of
Feb 15 10:17:21 test104 httpd: Cannot load /etc/httpd/modules/mod_php.so into
server: libgd.so.1: cannot load shared object file: No such file or directory
Feb 15 10:17:21 test104 httpd: httpd startup failed
hobbit, I'll probably mark this as WORKSFORME, but benl's problem looks slightly
benl, do you have the 'phpfi' package installed?
# rpm -qa|grep php
Okay, so the problem is that while PHP 4 obsoleted PHP 3, it didn't obsolete
phpfi. Fixed in Raw Hide.