Error: The specified module could not be found.

Discussion in 'Apache' started by vienie, Jul 26, 2007.

  1. #1
    Hope someone can help.
    I am trying to get php installed with Apache on my windows xp SP2.

    I have downloaded and installed Apache 2.2.4 for x86 from the official Apache mirror download site and have ran the installation with no errors.

    Downloaded php 4.4.7 created my c:\php directory and copied the php.exe, php4ts.dll, php4apache.dll to this directory.

    I then edited the php.ini file's mail function section adding a smtp and email and turned the global variables section = on.

    Next I configured the httpd.conf file to set the servername to localhost. ( even tried the actual IP address and DNS name, neither worked)
    In the SSI section I added ---
    AddType text/html .shtml
    AddHandler Server-parsed .shtml

    I Modied the DirectoryIndex to ---
    DirectoryIndex index.shtml index.html

    I then tried starting the apache service which fails and keeps giving the following error:

    Source: Apache Service
    Event ID: 3299
    Type Error:

    The apache service named reported the following error: >>> httpd.exe: Syntax error on line 115 of C:/program files/apache software foundation/apache2.2/conf/httpd.conf: cannot load C:php/php4apache.dll into server: The specified module could not be found.

    Of course line 115 is where I added the
    LoadModule php4_module "c:/php/php4apache.dll"

    How do I fix this?
    Thanks
     
    vienie, Jul 26, 2007 IP