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?
- Follow-Ups:
- Prev by Date: Upgrading from 4.4.3 to 4.4.5
- Next by Date: configure: error: libpng.(a|so) not found.
- Previous by thread: Upgrading from 4.4.3 to 4.4.5
- Next by thread: Re: PHP5 as module on Apache 2.2 on win XP
- Index(es):