I've been trying to install PHP, Apache and mySQL on my computer for a while now but I can't seem to get it to work properly.
I can start Apache, and html pages work properly from localhost. The problem is with php pages. Whenever I start Apache, a dos window opens and I get the error:
httpd.exe: Syntax error on line 491 of c:/Program files....httpd.conf
Cannot load php5apache.dll into server: The specified module cannot be found
I did add these lines to httpd.conf:
AddType application/x-httpd-php .php
LoadModule php5_module "c:\php\php5apache.dll"
setEnv PHPRC c:\windows
and in the directory c:/php I can SEE the file php5apache.dll but Apache isn't registering it for some reason.
Any help would be greatly appreciated. Thanks