httpd-bugs mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 50907] New: can't load php module
Date Thu, 10 Mar 2011 00:30:56 GMT

           Summary: can't load php module
           Product: Apache httpd-2
           Version: 2.2.17
          Platform: PC
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Core

If I start httpd as a console, everything works correctly.  If I start as a
service, the php module fauls to load.  Messages and actual behavior suggest
that the path is being treated strangely. 

Here are the relevant lines from httpd.conf

PHPINIDir "c:\program files (x86)\php\"
LoadModule php5_module "c:\program files (x86)\php\php5apache2_2.dll"

the error message when started as a service is:
httpd.exe: Syntax error on line 690 of C:/Program Files (x86)/Apache Software
Foundation/Apache2.2/conf/httpd.conf: Cannot load C:/Program Files (x86)/Apache
Software Foundation/Apache2.2/php5apache2_2.dll into server: The specified
module could not be found.  

Note that the path in the message is to the apache root, not the path in the
config file.  And, if I put a copy of php5apache2_2.dll in the place designated
by the error message, it changes and the error becomes a complaint about the
syntax of the PHPINIDir line.

As I said, this works if apache is started as a console application, and it
used to work with an earlier version of apache.

Configure bugmail:
------- You are receiving this mail because: -------
You are the assignee for the bug.

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message