php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #59758 APC operating like stats=0 for relative path but stats=1
Submitted: 2011-05-09 06:23 UTC Modified: 2011-05-19 06:55 UTC
From: jpd at classicstudios dot co dot uk Assigned:
Status: Closed Package: APC (PECL)
PHP Version: 5_3 SVN-2011-05-09 (dev) OS: openSuSE 11.4
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jpd at classicstudios dot co dot uk
New email:
PHP Version: OS:

 

 [2011-05-09 06:23 UTC] jpd at classicstudios dot co dot uk
Description:
------------
I have tried it with php 5.3.5 (stable that come with suse) 
and have the same result.

sorry if a dupe, couldn't find it.

found bug #19610 which suggests that relative 
includes/require should work with stats=1 but I upgraded from 
apc 3.0.19 to 3.1.8 and the drupal site i was working on fell 
over.

Went through the third party modules to replace the relative 
paths with full paths and it works fine.

So either this is a bug or the documentation needs updating.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2011-05-13 16:35 UTC] gopalv@php.net
Please test the code off apc-trunk

http://svn.php.net/repository/pecl/apc/trunk/
 [2011-05-14 13:08 UTC] jpd at classicstudios dot co dot uk
Hi.

Tried the trunk code and it the fault still exists.
 [2011-05-14 15:50 UTC] pierre dot php at gmail dot com
What's the value for apc.stat? See phpinfo()
 [2011-05-14 15:55 UTC] jpd at classicstudios dot co dot uk
apc.stat 1
 [2011-05-19 05:45 UTC] jpd at classicstudios dot co dot uk
Hi.

Any thoughts on this?

Does it look like it will take a while to resolve, since this has hit us on our production setup - rh 5.4 php 5.2.17.

Our hosting provider moved us to the latest apc, sowere looking at our options.
 [2011-05-19 06:22 UTC] pierre dot php at gmail dot com
Please try using 3.1.9
 [2011-05-19 06:47 UTC] jpd at classicstudios dot co dot uk
Hi.

tried 3.1.9 and it seems to have fixed it for all my test cases.

Thanks.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri May 17 05:01:31 2024 UTC