I am trying to install Apache, PMP and mySQL. I used the installation package from FoxServ. I am also customizing the installation following the instructions from a book. The server loads well when called on cPanel. (“it works!”

My issue is:

The book asks me to add two sets of lines in three different parts of the httpd file that I have particulary placed here C:\Program Files\FoxServ\apache\conf\

The two sets of lines I am adding are:


AddType application/x-httpd-php .php
AddType application/x-httpd-php-source .phps


# # AddType allows you to add to or override the MIME configuration
# file mime.types for specific file types.
# AddType application/x-tar .tgz
AddType image/x-icon .ico


LoadModule php5_module “c:/php/sapi/php5apache2.dll”

(I have written the line with the correct path of the file on C:/Program Files/FoxServ/php/sapi


LoadModule userdir_module modules/mod_userdir.so
#LoadModule usertrack_module modules/mod_usertrack.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so
#LoadModule ssl_module modules/mod_ssl.so

I get no error with the first line but when I try to start apache I get this error:

Syntax error on line 203 of C: /Program Files/FoxServ/apache/conf/httpd.config
Cannot load C:/Program Files/FoxServ/php/sapi/ php5apache2.dll into server: <126>

The specified module couldn’t be found

I went to the folder C:/Program Files/FoxServ/php/sapi and noticed there was not an php5apache2.dll file but an php4apache2.dll so I imagine FoxServ came with PHP 4 instead of PHP5. I thought I could load that file instead and then renamed line 203 to

LoadModule php4_module “C:/Program Files/FoxServ/php/sapi/php4apache2.dll”

But the message I get is the same (only with the different module name)

Not sure what is wrong.

Help please!!!!

Thanks in advance,