php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59756 3.1.8 Include Path Corruption in PHP 5.3.5
Submitted: 2011-05-07 21:59 UTC Modified: 2013-02-18 00:35 UTC
Votes:4
Avg. Score:5.0 ± 0.0
Reproduced:3 of 4 (75.0%)
Same Version:0 (0.0%)
Same OS:1 (33.3%)
From: tom at bangbros dot com Assigned:
Status: No Feedback Package: APC (PECL)
PHP Version: 5.3.5 OS: Ubuntu 11
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please — but make sure to vote on the bug!
Your email address:
MUST BE VALID
Solve the problem:
41 - 40 = ?
Subscribe to this entry?

 
 [2011-05-07 21:59 UTC] tom at bangbros dot com
Description:
------------
Installation has issues...
downloading APC-3.1.8.tgz ...
Starting to download APC-3.1.8.tgz (155,526 bytes)
.................................done: 155,526 bytes
54 source files, building
running: phpize
Configuring for:
PHP Api Version:         20090626
Zend Module Api No:      20090626
Zend Extension Api No:   220090626
config.m4:180: warning: AC_CACHE_VAL(PHP_APC_GCC_ATOMICS, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:2019: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2040: AC_CACHE_CHECK is expanded from...
config.m4:180: the top level
config.m4:180: warning: AC_CACHE_VAL(PHP_APC_GCC_ATOMICS, ...): suspicious cache-id, must contain _cv_ to be cached
../../lib/autoconf/general.m4:2019: AC_CACHE_VAL is expanded from...
../../lib/autoconf/general.m4:2040: AC_CACHE_CHECK is expanded from...
config.m4:180: the top level


Subsequent requests display corruption in the include path:
Warning: require_once(sfDILoaderZend.php): failed to open stream: No such file or directory in 7yY???-/XXXXX.com/trunk/library/

It may or not be relevant... we are running PHP 5.3.5 with Suhosin Patch 0.9.10.


Reproduce code:
---------------
n/a.  Breaks with any include.

Expected result:
----------------
I expect it to not corrupt the include paths

Actual result:
--------------
Corruption in the file's include path with both canonicalize on and off.  I also tried various combinations of the optional and experimental settings to no avail.  Downgrading to 3.1.6 resolves the issue.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-05-08 03:25 UTC] gopalv@php.net
Looks like the new release is broken with Suhosin, because it goes through my tests comfortably.

I've never tested with Suhosin on. Not on my release checklist, that.

Will fire off a couple of basic tests next week & see if I can fix it.
 [2011-05-10 02:35 UTC] jasonwyz98 at gmail dot com
Hi

I have suhosin disabled, but still has the include path 
error.
 [2011-05-12 12:05 UTC] mail at tomsommer dot dk
Can confirm the corruption - also exists with PHP 5.3.6 without compile error
 [2011-05-12 12:08 UTC] mail at tomsommer dot dk
Bug does not exist with APC 3.1.6
 [2011-05-12 14:35 UTC] gopalv@php.net
Was out sick for a couple of days, but my test-cases no longer break for similar simpler test-cases.

Is there anything special in your include_path or are you using __autoload or something?
 [2011-05-13 16:34 UTC] gopalv@php.net
Please test the code off apc-trunk

http://svn.php.net/repository/pecl/apc/trunk/
 [2011-12-26 11:08 UTC] bamastangguy at gmail dot com
I also have this issue with 5.3.8 and 3.1.9.
 [2012-04-13 09:40 UTC] pajoye@php.net
Please try with 5.4.0/5.4.1 with APC 3.1.10
 [2012-04-13 09:41 UTC] pajoye@php.net
-Status: Open +Status: Feedback
 [2013-02-18 00:35 UTC] pecl-dev at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed Dec 01 13:03:35 2021 UTC