Forum Moderators: phranque

Message Too Old, No Replies

apachectl start error

Problem with libphp5.so

         

Silas Justiniano

2:32 pm on Feb 6, 2005 (gmt 0)

10+ Year Member



Hello!

I installed correctly PHP and Apache with the following commands:

Apache:

#./configure --prefix=/s3g/apps/apache --enable-module=so
#make
#make install

PHP:

#./configure --with-mysql=/usr/local/mysql --with-apxs=/s3g/apps/apache/bin/apxs
#make
#make install

It put libphp5.so correctly at /s3g/apps/apache/libexec and the following command at httpd.conf:

LoadModule php5_module libexec/libphp5.so

But when I try to run apachectl start, it returns me the followin sentence:

Syntax error on line 205 of /s3g/apps/apache/conf/httpd.conf:
API module structure `php5_module' in file /s3g/apps/apache/libexec/libphp5.so is garbled - perhaps this is not an Apache module DSO?
./apachectl start: httpd could not be started

What could it be?

Please! Help me!

Thank you very much... Bye!