Apache will not run after PHP LoadModule edit is made.
Results 1 to 3 of 3

Thread: Apache will not run after PHP LoadModule edit is made.

  1. #1
    Junior Member
    Join Date
    Apr 2017

    Apache will not run after PHP LoadModule edit is made.

    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

  2. #2
    High Energy Magic Dept. NogDog's Avatar
    Join Date
    Aug 2006
    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.
    "Well done....Consciousness to sarcasm in five seconds!" ~ Terry Pratchett, Night Watch

    How to Ask Questions the Smart Way (not affiliated with this site, but well worth reading)

    My Blog
    cwrBlog: simple, no-database PHP blogging framework

  3. #3
    Senior Member Derokorian's Avatar
    Join Date
    Apr 2011
    This line is wrong:
    AddHandler Application/x-httpd.php .php
    It should instead look like:
    AddHandler application/x-httpd-php .php
    Sadly, nobody codes for anyone on this forum. People taste your dishes and tell you what is missing, but they don't cook for you. ~anoopmail
    I'd rather be a comma, then a full stop.
    User Authentication in PHP with MySQLi - Don't forget to mark threads resolved - MySQL(i) warning

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts