Forum Moderators: phranque
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!