Just installed Apache 2.2 and it is up and running.
trying to add PHP5 using the instructions add these to httpd.conf:

LoadModule php5_module "F:\php-5.2.1\php5apache2.dll"
AddType application/x-httpd-php .php
# configure the path to php.ini
PHPIniDir "F:/php-5.2.1"

I have done this successfully on earlier versions of both PHP and Apache...
but this one chokes on the PHPIniDir on apache restart:

Syntax error on line 121 of F:/Apache2.2/conf/httpd.conf:
Invalid command 'PHPIniDir', perhaps misspelled or defined by a module not
included in the server configuration.



No error message when the PHPIniDir line is commented out so it is finding
the dll OK.

Nothing in the error logs to help.
Tried using \ in the PHPIniDir but that didn't help.

Any ideas?

Reply via email to