After installing Apache 2, download the PHP binaries from
php.net and place them in C:\PHP5, this is how Apache will know where the PHP binaries are. Your httpd.conf code's LoadModule line had no quotes around the path, so add them, but note if you are using
Apache 2.2 you must comment out the first LoadModule line and add this instead:
LoadModule php5_module "c:/php5/php5apache2_2.dll"
Be sure the dll module exists in either case. Ensure httpd (Apache) is STOPPED and run
httpd.exe -k install
After you can start it with -k start, create a document that has <?php phpinfo(); ?> inside to verify it works.
Be sure to read the updated
FAQ! || Health is achieved through the same 10,000 steps.
If a suggested code/method fails, informing us is less important than telling us
why or
what errors occurred.