Req #62267 [Com]: Apache 2.4
| From: | iomranic at gmail dot com | Date: | Sun, 05 Aug 2012 17:51:14 +0000 |
| Subject: | Req #62267 [Com]: Apache 2.4 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-172448@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62267&edit=1
ID: 62267
Comment by: iomranic at gmail dot com
Reported by: neweracracker at gmail dot com
Summary: Apache 2.4
Status: Open
Type: Feature/Change Request
Package: Apache2 related
Operating System: Windows
PHP Version: 5.3Git-2012-06-08 (snap)
Block user comment: N
Private report: N
New Comment:
Your patch allowed me to compile php5apache2_4.dll successfully, but Apache service failed to start
with the following error(s) in event log:
------------------------------------------------------------------------
>>> httpd.exe: Syntax error on line 175 of /path/to/httpd.conf: Module
>>> "sapi\\apache2handler\\mod_php5.c" is not compatible with this version.
------------------------------------------------------------------------
>>> of Apache (found 20110619, need 20120211). Please contact the vendor for the correct
>>> version.
------------------------------------------------------------------------
After reviewing PHP's source code, I've reached a good solution which worked for me,
compilation succeeded, and launching Apache 2.4 with PHP 5.4 module (Apache 2.4 Handler) succeeded
as well. Solution attached as a patch file below. Note that I've removed Apache 2.3 support,
and added both "Apache 2.4 Filter" & "Apache 2.4 Handler" support. I've
removed unwanted "php_network.c" inclusion (that "neweracracker" added in his
patch) from the patch as well, since I didn't see any need for it.
Previous Comments:
------------------------------------------------------------------------
[2012-06-08 18:09:08] neweracracker at gmail dot com
Description:
------------
I've implemented a patch for PHP 5.3 that enables Apache 2.4 support
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62267&edit=1