Bug #62239 [Opn->Fbk]: Opcode cachers don't work correctly with mod_php and Apache 2.4.x
| From: | rasmus@php.net | Date: | Wed, 06 Jun 2012 08:22:29 +0000 |
| Subject: | Bug #62239 [Opn->Fbk]: Opcode cachers don't work correctly with mod_php and Apache 2.4.x | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-171071@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=62239&edit=1
ID: 62239
Updated by: rasmus@php.net
Reported by: info at jandegrootict dot nl
Summary: Opcode cachers don't work correctly with mod_php and
Apache 2.4.x
-Status: Open
+Status: Feedback
Type: Bug
Package: Apache2 related
Operating System: Linux 3.0
PHP Version: 5.3.13
Block user comment: N
Private report: N
New Comment:
I don't see why the Apache version would affect APC. You will have to provide
more details on this one.
Previous Comments:
------------------------------------------------------------------------
[2012-06-06 08:19:05] info at jandegrootict dot nl
Description:
------------
When compiling PHP 5.3.13 with Apache 2.4.2 (prefork MPM), opcode cachers like Xcache and APC seem
to produce invalid code.
In case of APC, PHP will generate notices about "undefined variable: _SERVER". Besides
that, both APC and Xcache will sometimes generate errors about not finding includes that were
included from the current directory of a script.
Whenever I downgrade Apache to 2.2 and recompile PHP to use that version instead, the opcode cachers
work fine as they should.
I haven't been able to find a reproducible test case, but I assume this comes from a change in
Apache 2.4.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=62239&edit=1