Tom's Guide | Tom's Hardware | Tom's Games
![]() |
![]() |
![]() |
When I try to restart the httpd service, I get the following message:
httpd failed. The error was: Stopping httpd: [FAILED]
Starting httpd: Syntax error on line 190 of /etc/httpd/conf/httpd.conf:
Cannot load /etc/httpd/modules/libphp5.so into server: libdb-4.3.so: cannot open shared object file: No such file or directory
[FAILED]
If I then do the following commands, you will get a feel for what I have available to me:ls -l `find / -name *libphp* -print 2>/dev/null`
-rwxr-xr-x 1 root root 2021628 Jan 12 14:12 /usr/lib/httpd/modules/libphp5.so
cat php.conf
#
# PHP is an HTML-embedded scripting language which attempts to make it
# easy for developers to write dynamically generated webpages.
#
LoadModule php5_module modules/libphp5.so
#
# Cause the PHP interpreter to handle files with a .php extension.
#
AddHandler php5-script .php
AddType text/html .php
#
# Add index.php to the list of files that will be served as directory
# indexes.
#
DirectoryIndex index.phprpm -qa | grep php
php-gd-5.0.3-1
php-soap-5.0.3-1
php-mbstring-5.0.3-1
php-devel-5.0.3-1
php-odbc-5.0.3-1
php-imap-5.0.3-1
php-ncurses-5.0.3-1
php-xml-5.0.3-1
php-mysql-5.0.3-1
php-5.0.3-1
php-snmp-5.0.3-1
php-pear-5.0.3-1
gphpedit-0.9.50-1
php-ldap-5.0.3-1
php-xmlrpc-5.0.3-1
rpm -qa | grep libd
libdv-tools-0.103-1
libdbi-dbd-pgsql-0.6.5-9
libdv-devel-0.103-1
libdv-0.103-1
libdbi-dbd-mysql-0.6.5-9
libdbi-0.6.5-9
libdbi-devel-0.6.5-9I would be grateful for any advice regarding this problem. I can still start Apache if I comment out the LoadModule command in php.conf, but then PHP doesn't work.
In order to do my install I used all rpms from the web location:
http://download.fedora.redhat.com/pub/fedora/linux/core/development/i386/Fedora/RPMS/

I still could do with some advice. But I have kind of got around this. I managed to run the following command:
rpm -qf /etc/httpd/modules/libphp5.so
This listed the package that owned the file. This confirmed that the right php packages were installed.
I then did:
rpm -qf libdb-4.3.so which suggested that I needed to install db4-4.3.27-1.i386.rpm and similar packages.
To install these I had to use rpm with the --force flag so that it would not stop when finding problems with dependancies.Unfortunately, when doing this the output suggests that I have alot of conflicting problems as the old db4-4.2.52 version is still required by otherpackages such as sendmail etc.
Apache seems to run ok with PHP, but I now think my system is not in good shape. Any idea on how to check this out?

![]() |
![]() |
![]() |

This post is quite old and has been locked from receiving new replies. Please create a new posting instead.
| Ads by Google |