apache 2.0 php problem

ragengs

Registered
Hi have installed apache 2.0(in /usr/local/apache/ and php version 4.06)

Loadmodule works fine but not php it gives at a apachectl restart this

/usr/sbin/apachectl graceful: httpd not running, trying to start
Syntax error on line 246 of /usr/local/apache/conf/httpd.conf:
Cannot load /usr/local/apache/libexec/httpd/libphp4.so into server: link failed
/usr/sbin/apachectl graceful: httpd could not be started

and also when i try to add addmodules of anything it gives this

Syntax error on line 248 of /usr/local/apache/conf/httpd.conf:
Invalid command 'AddModule', perhaps mis-spelled or defined by a module not included in the server configuration

is addmodules used in apache 2 or not
if what can i do to make it work

Thanks to the great people that can help
 
AFAIK, PHP does not work correctly with Apache 2.0 yet, this is becaue the module mechanisms for Apache has been completely rewritten. The latest PHP 4.0.4(?) only has experimental support for Apache... You should probably go ask these setup questions on the PHP newsgroups at http://www.php.net.
 
Back
Top