I have been trying all day to make this work and it simply will not do it. I have tried Apache from everywhere, finaly from Apache Lounge. I have tried PHP version VC11, VC14 no matter what I try as soon as I add the line “php5_module "c:/php/php5apache2_4.dll" or “php7_module "c:/php7/php5apache2_4.dll"… whatever Frankly ot’s become imposable to keep up with all the myriad configurations. Well actually PHP7 doesn’t even have a “php7apache2_4.dll” even though any documents you can find on it will tell you to point to that file It doesn’t exist. All I’ve been able to find on it is some useless garbage about a mistake in the build After that I went back to trying to install VC11 still no joy it absolutely will not load . Apache will not run after these lines are added.

BTW Apache is installed at “C:/Apache24”PHP is installed at “C:/PHP”
Apache will not start with the lines...
LoadModule php5_module "c:/php/php5apache2_4.dll"
AddHandler Application/x-httpd.php .php
PHPIniDir C:/PHP
I’ve been doing this for a solid 10 hours with consistently the same results. Apache will run fine until I add those lines in any of the countless arrangements suggested on all the enumerable web pages professing to tell you how to install PHP on windows 8.

The really screwed up thing is that I’ve had it running before and nowhere near this much trouble

    Not being an Apache power user and running on OSX these days, my first step would be to locate the Apache logs and see what interesting things they have to say during the failed start-ups. If nothing else, they'll give you good things to google on.

    Or wait for someone with PHP/Apache on Windows expertise drops by here. 🙂

      6 days later

      This line is wrong:

      AddHandler Application/x-httpd.php .php

      It should instead look like:

      AddHandler application/x-httpd-php .php

        Write a Reply...