You are viewing a plain text version of this content. The canonical link for it is here.
Posted to bugs@httpd.apache.org by bu...@apache.org on 2006/05/13 10:26:03 UTC

DO NOT REPLY [Bug 39574] New: - PHP5 LoadModule doesn't work

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39574>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39574

           Summary: PHP5 LoadModule doesn't work
           Product: Apache httpd-2
           Version: 2.2.2
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: blocker
          Priority: P2
         Component: Other Modules
        AssignedTo: bugs@httpd.apache.org
        ReportedBy: rensjuh@gmail.com


When adding the configuration for PHP, the following 2 lines:
LoadModule php5_module "C:/webserver/PHP/php5apache2.dll"
AddType application/x-httpd-php .php
You'll get an error from Apache.
The error contains:
httpd.exe: Syntax error on line 115 of C:/webserver/Apache Software
Foundation/Apache2.2/conf/httpd.conf: Cannot load
C:/webserver/PHP/php5apache2.dll into server: Cannot find the module.

The version of Apache is 2.2.2, and the version of PHP is 5.1.4.
After I saw that error, I was going to try it with an older version of Apache
(2.0.58) and it worked with that version.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 39574] - PHP5 LoadModule doesn't work

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39574>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39574


rpluem@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO




------- Additional Comments From rpluem@apache.org  2006-05-13 08:31 -------
Have you compiled PHP against 2.2.2? Modules for 2.0.x and 2.2.x are binary
incompatible. You need to recompile modules for 2.2.2.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 39574] - PHP5 LoadModule doesn't work

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39574>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39574


mypepper@lwgreys.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|CLOSED                      |REOPENED
         Resolution|INVALID                     |




------- Additional Comments From mypepper@lwgreys.com  2006-09-16 23:56 -------
I have version 2.2.3 and have the same problem of php modules not loading.
Here is the error:
httpd.exe: Syntax error on line 116 of E:/Apache/conf/httpd.conf: Cannot load E:
/php/php5/php5apache2.dll into server: The specified module could not be found.

I have even copied the php module to the apache modules director and still get 
the error:
httpd.exe: Syntax error on line 116 of E:/Apache/conf/httpd.conf: Cannot load E:
/Apache/modules/php5apache2.dll into server: The specified module could not be f
ound.
I also tried php version 4 and get error:
httpd.exe: Syntax error on line 116 of E:/Apache/conf/httpd.conf: Cannot load E:
/php/php4/php4apache2.dll into server: The specified module could not be found.

I have had no problems with version 2.0.55 loading these modules.


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 39574] - PHP5 LoadModule doesn't work

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39574>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39574


rensjuh@gmail.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |CLOSED




------- Additional Comments From rensjuh@gmail.com  2006-05-14 18:24 -------
There was already a php5 Module for apache, that was compiled against Apache 2.2.2.
Here is the link to the bug report on php.net:
http://bugs.php.net/bug.php?id=37436

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 39574] - PHP5 LoadModule doesn't work

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39574>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39574





------- Additional Comments From rensjuh@gmail.com  2006-05-13 12:26 -------
I downloaded the Apache 2.2.2 Win32 binary, and the PHP 5.1.4 zip package, also
the Win32 binary.
I never had to compile anything, so I'm not sure wh�t and how I have to compile.
Can you give me a link or so to a page how to compile PHP against Apache 2.2.2?

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 39574] - PHP5 LoadModule doesn't work

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39574>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39574


rpluem@apache.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From rpluem@apache.org  2006-05-14 09:25 -------
I guess that is the exact problem: The binary packages that can be downloaded at
php.net are not compiled against 2.2.x httpd's.
I found the following link in the php manual:
http://www.php.net/manual/en/install.windows.building.php.
I guess it would be also an option for you to open an enhancement bug at php.net
and ask for php binaries compiled against httpd 2.2.x.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 39574] - PHP5 LoadModule doesn't work

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39574>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39574





------- Additional Comments From the_angry_angel@blueyonder.co.uk  2006-09-27 13:27 -------
Is php5ts.dll in the same area? If apache cant find this file, then it wont run.
Typically a way to cheat is to make sure that the PHP files are in the PATH -
you can either do this by adding the PHP directory to the PATH or copying the
files to a directory that is already in the PATH :)

Hopefully that should resolve it for you. Also make sure you are using the
php5apache2_2.dll :) (I've not tested this on Win32, but it should work by all
accounts)

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org


DO NOT REPLY [Bug 39574] - PHP5 LoadModule doesn't work

Posted by bu...@apache.org.
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39574>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39574


jorton@redhat.com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|REOPENED                    |RESOLVED
         Resolution|                            |INVALID




------- Additional Comments From jorton@redhat.com  2006-12-11 06:54 -------
The pre-built PHP Win32 binary which will work against 2.2.x is called
"php5apache22.dll" AFAIK - for further help with PHP please see:

  http://www.php.net/support.php

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: bugs-unsubscribe@httpd.apache.org
For additional commands, e-mail: bugs-help@httpd.apache.org