I have installed php5.2.17 (with installer) on windows 7 and I have Apache2.2.
"php5apache2_2.dll" file hasn't been created during the installation.
I added the file (and some additional files) to my PHP directory manually and then tried to add:
1. LoadModule php5_module "c:/PHP/php5apache2_2.dll"
2. AddType application/x-httpd-php .php
3. PHPIniDir "C:/PHP"
at my httpd.conf
it results with an error when I try to restart my Apache server (the error appears on lines 1 and 3)
and I can't restart the server.
when I try to execute my PHP file without adding lines 1 and 3 to httpd.conf
I get an error:
404 Not Found
"The requested URL /PHP/php-cgi.exe/a.php was not found on this server."
execution of perl scripts works fine.