I'm using Gentoo, and for some reason the Apache2 service won't start. I get the following error:
Code:
* Apache2 has detected a syntax error in your configuration files:
Syntax error on line 6 of /etc/apache2/modules.d/70_mod_php.conf:
Cannot load /usr/lib/apache2/modules/libphp4.so into server: libmysqlclient.so.14: cannot open shared object file: No such file or directory
The file /etc/apache2/modules.d/70_mod_php.conf, reads:
Code:
# vim: ft=apache sw=4 ts=4
<IfDefine PHP4>
# Load the module first
<IfModule !sapi_apache2.c>
LoadModule php4_module modules/libphp4.so
</IfModule>
# Set it to handle the files
<IfModule mod_mime.c>
AddType application/x-httpd-php .php
AddType application/x-httpd-php .phtml
AddType application/x-httpd-php .php3
AddType application/x-httpd-php .php4
AddType application/x-httpd-php-source .phps
</IfModule>
AddDirectoryIndex index.php index.phtml
</IfDefine>
The file libphp4.so is present:
Code:
-rwxr-xr-x 1 root root 4074876 Feb 6 2006 /usr/lib/apache2/modules/libphp4.so
How do I go about solving this?
Many thanks,
Steve