[thelist] Apache/PHP Config Error?

Raditha Dissanayake jabber at raditha.com
Mon Mar 22 18:56:01 CST 2004


Adrian Gonzales wrote:

>I went to update a virtual server on my apache installation. When I
>restarted the server I get this error now:
>
>Failed to apply changes : 
>Syntax error on line 255 of /etc/httpd/conf/httpd.conf:
>Cannot load /etc/httpd/modules/mod_php.so into server:
>/etc/httpd/modules/mod_php.so: cannot open shared object file: No such
>file or directory
>  
>

Looks like you have accidently deleted your php module. Try just running 
'make install' in your php source directory.
In some cases php appears as libphp4.so

Guessing that what might have really happened is that you would have 
installed some software that has changed you files with out your knowledge.


>251: <IfDefine HAVE_PERL>
>252: LoadModule perl_module        modules/libperl.so
>253: </IfDefine>
>254: <IfDefine HAVE_PHP>
>255: LoadModule php_module         modules/mod_php.so
>256: </IfDefine>
>
>  
>

-- 
Raditha Dissanayake.
---------------------------------------------
http://www.radinks.com/print/upload.php
SFTP, FTP and HTTP File Upload solutions 



More information about the thelist mailing list