I am having trouble setting up PHP with my apache server on my windows machine. It gives me an error when I test the configuration saying that "Cannot load C:/php5/php5apache2.dll into server: The specified module cannot be found". I added (to the httpd file in the conf folder):
LoadModule php5_module "C:\php5\php5apache2.dll"
AddType application/x-httpd-php .php .php3 .phps
PHPIniDir "C:/php5/"
AddHandler server-parsed .shtml .html .htm .php
DirectoryIndex index.html index.htm index.php index.html.var
First off, I don't even know if I put these in the right location. The php files are all in c:/php5/, so I don't know why it can't find it, if that is even how you're suppose to do it.
I attached the actual httpd file as a text document for anyone who wants to see how everything is configured on the file. Also, everything was working fine with regular html file when I first configured my apache.
Thanks