• Resolved tornadough

    (@tornadough)


    Windows Platform – 2003 SP2
    Apache 2.2 installed
    PHP 5.2.5
    MySQL 5.2.5

    Once I install PHP Apache no longer runs.
    I get 2 errors in the event log.

    1. The Apache service named reported the following error:
    >>> Cannot load E:/Program Files/PHP/php5apache2_2.dll into server: The specified module could not be found. .

    2. The Apache service named reported the following error:
    >>> Syntax error on line 960 of E:/Program Files/Apache Group/Apache2/conf/httpd.conf:

    Can’t figure out why? Next step would be to start the 5 min word press install. Any help is greatly appreciated!

Viewing 4 replies - 1 through 4 (of 4 total)
  • Presumably you have added the following to your httpd.conf file:

    # Enable PHP5
    LoadModule php5_module “C:/Program Files/PHP5/php5apache2_2.dll”
    AddType application/x-httpd-php .php
    PHPIniDir “C:/Program Files/PHP5”

    ….and adjusted it to reflect the correct path to the php5apache2_2.dll.

    Windows can be a little funky on this topic. Rather than spelling it all out and making a poor attempt to assume what you have or have not already done, I will point you to a link that seems to have the install information pretty much spot on. I compared it to the notes I made on my last installation of MySql, Apache and PHP on a Windows machine, and I believe it to be accurate. Pay particular attention to your drive lettering when editing the path to the php extension directory as well as the php5apache2_2.dll path in httpd.conf.

    https://oss.segetech.com/wamp.html

    I hope it goes well for you.

    Thread Starter tornadough

    (@tornadough)

    Thanks for the great link. I followed it exactly and I still get the same error. I have it running on a VMWare box so it’s easy to try new things and revert. Still can’t get past these errors.

    When you take out the following lines Apache starts up fine:
    # Enable PHP5
    LoadModule php5_module “C:/Program Files/PHP5/php5apache2_2.dll”
    AddType application/x-httpd-php .php
    PHPIniDir “C:/Program Files/PHP5”

    Thread Starter tornadough

    (@tornadough)

    I fixed this myself. Guess I was using apache 2 NOT 2.2.
    Got it all working now. ??

    It’s a good feeling, yes it is…

    Thanks for marking it resolved!
    Peace.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Apache Error’ is closed to new replies.