I have configured apache2 for web server, install php5 & followed the steps in the install .txt as well as what is on the php.net.
When I try to start apache I am getting an error:
Sytaxerror on line 122 of C:\Program Files\Apache Software Foundation\Apache2.2\conf\httpd.conf
Cannotload C:\php-5.1.4-Win32\php5apache2.dll into server:
The specified module could not be found.
Has anyone experiance this ? How do you resolve the issue?
PHP w. Apache2
Moderator: General Moderators
# For PHP 4 do something like this:
#LoadModule php4_module "c:/php-5.1.4-Win32/php4apache2.dll"
# Don't forget to copy the php4apache2.dll file from the sapi directory!
AddType application/x-httpd-php .php
# For PHP 5 do something like this:
LoadModule php5_module "c:/php-5.1.4-Win32/php5apache2.dll"
AddType application/x-httpd-php .php
# configure the path to php.ini
PHPIniDir "C:/php-5.1.4-Win32"
****Based on what is documented on php.net
http://us2.php.net/manual/en/print/inst ... pache2.php
#LoadModule php4_module "c:/php-5.1.4-Win32/php4apache2.dll"
# Don't forget to copy the php4apache2.dll file from the sapi directory!
AddType application/x-httpd-php .php
# For PHP 5 do something like this:
LoadModule php5_module "c:/php-5.1.4-Win32/php5apache2.dll"
AddType application/x-httpd-php .php
# configure the path to php.ini
PHPIniDir "C:/php-5.1.4-Win32"
****Based on what is documented on php.net
http://us2.php.net/manual/en/print/inst ... pache2.php