I am trying to get php running on a Tiger OS with Apache2 but my conf fails.
I get Invalid command as here:
muffadmin$ /usr/local/apache2/bin/apachectl configtest
Syntax error on line 11 of /usr/local/php5/httpd.conf.php:
Invalid command 'AddModule', perhaps mis-spelled or defined by a module not included in the server configuration
My PHP is from Marc L (entropy)
and I included his php conf which is like this:
#
# Additional PHP Apache directives,
# part of the entropy.ch PHP package for Mac OS X
#
# For more information, go to http://www.entropy.ch/software/macosx/php/
#
LoadModule php5_module /usr/local/php5/libphp5.so
<IfDefine !APACHE2>
AddModule mod_php5.c
</IfDefine>
Isn't AddModule part of the core? Why won't it work? Looking forward to a fix.
I get Invalid command as here:
muffadmin$ /usr/local/apache2/bin/apachectl configtest
Syntax error on line 11 of /usr/local/php5/httpd.conf.php:
Invalid command 'AddModule', perhaps mis-spelled or defined by a module not included in the server configuration
My PHP is from Marc L (entropy)
and I included his php conf which is like this:
#
# Additional PHP Apache directives,
# part of the entropy.ch PHP package for Mac OS X
#
# For more information, go to http://www.entropy.ch/software/macosx/php/
#
LoadModule php5_module /usr/local/php5/libphp5.so
<IfDefine !APACHE2>
AddModule mod_php5.c
</IfDefine>
Isn't AddModule part of the core? Why won't it work? Looking forward to a fix.