#39787 [Opn]: PHP doesn't work with Apache 2.3 series
| From: | mv at binarysec dot com | Date: | Sun, 10 Dec 2006 13:08:39 +0000 |
| Subject: | #39787 [Opn]: PHP doesn't work with Apache 2.3 series | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-106162@lists.php.net to get a copy of this message | ||
ID: 39787
User updated by: mv at binarysec dot com
Reported By: mv at binarysec dot com
Status: Open
Bug Type: Apache2 related
Operating System: All
PHP Version: 5CVS-2006-12-10 (CVS)
New Comment:
Tony,
Here is the patch allow PHP to support Apache > 2.3.
I add a new function - apache_get_description() that used the new
Apache function ap_get_server_description(). This new function allow
you to get the platform description :]
http://badcode.be/~descript/PHP/PHP-Apache-2.3-support.diff
Awaiting your feedbacks
Michael Vergoz
Previous Comments:
------------------------------------------------------------------------
[2006-12-10 11:52:27] mv at binarysec dot com
Description:
------------
PHP doesn't work with Apache 2.3 series.
On Apache 2.3 the ap_get_server_version() function has been replace by
ap_get_server_banner() & ap_get_server_description().
See the Apache changelog (from trunk) :
* 20060905.0 (2.3.0-dev) Replaced ap_get_server_version() with
* ap_get_server_banner() and
ap_get_server_description()
Actual result:
--------------
httpd: Syntax error on line 53 of /Web/conf/httpd.conf: Cannot load
/Web/modules/libphp5.so into server: /Web/modules/libphp5.so: undefined
symbol: ap_get_server_version
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=39787&edit=1