Bug 26797

Summary: Apache dependencies broken?
Product: [Retired] Red Hat Linux Reporter: Telsa Gwynne <hobbit>
Component: phpAssignee: Nalin Dahyabhai <nalin>
Status: CLOSED RAWHIDE QA Contact: David Lawrence <dkl>
Severity: medium Docs Contact:
Priority: medium    
Version: 7.1CC: benl, hobbit
Target Milestone: ---   
Target Release: ---   
Hardware: i386   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2001-02-20 23:04:21 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Telsa Gwynne 2001-02-09 09:00:33 UTC
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 :)

Comment 1 Nalin Dahyabhai 2001-02-15 05:15:25 UTC
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?

Comment 2 Telsa Gwynne 2001-02-15 11:09:09 UTC
$ rpm -qa | grep php
php-4.0.4pl1-4
$ grep php /tmp/upgrade.log
Upgrading php.
(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 :)

Comment 3 Ben Levenson 2001-02-15 22:34:58 UTC
FWIW-here is some information from my boot.log
build: qa0215.1
upgraded Everything install 6.2 --> 7.1beta.

Feb 15 10:17:21 test104 httpd: Syntax error on line 250 of
/etc/httpd/conf/httpd.conf:
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


Comment 4 Nalin Dahyabhai 2001-02-16 17:28:24 UTC
hobbit, I'll probably mark this as WORKSFORME, but benl's problem looks slightly
different.

benl, do you have the 'phpfi' package installed?

Comment 5 Ben Levenson 2001-02-20 20:38:41 UTC
yup.
# rpm -qa|grep php
php-4.0.4pl1-6
php-ldap-4.0.4pl1-6
php-manual-4.0.4pl1-6
php-imap-4.0.4pl1-6
php-pgsql-4.0.4pl1-6
phpfi-2.0.1-12

Comment 6 Nalin Dahyabhai 2001-02-23 20:09:47 UTC
Okay, so the problem is that while PHP 4 obsoleted PHP 3, it didn't obsolete
phpfi.  Fixed in Raw Hide.