|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #60449 some php files do not get cached
Submitted: 2011-12-06 08:40 UTC Modified: 2016-11-18 21:32 UTC
From: giunta dot gaetano at gmail dot com Assigned:
Status: Wont fix Package: APC (PECL)
PHP Version: 5.3.8 OS: Windows 7 64bit
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2011-12-06 08:40 UTC] giunta dot gaetano at gmail dot com
Running php 5.3.8 vc9 on windows 7 64 bit, suing apache 2.2.21 from apachelounge.

Test application: eZ Publish version 2011.10 (using "ezflow" package set).

After visiting the homepage of the application, APC reports to have cached about 40 files (best case, worst case less than 10). The application itself otoh reports via a get_included_files() call to have included 133 files.

Some of the php files that do not seem to be in the list of apc cached files are class definitions, loaded via require() calls by an autoload function registered via spl. Replacing those calls with require_once(), the number of cached files augments, but it is still lower than expected


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2016-11-18 21:32 UTC]
-Status: Open +Status: Wont fix
 [2016-11-18 21:32 UTC]
APC is no longer supported in favor of opcache that comes bundled with PHP, if you wish to use the user cache, then look at PECL/APCu.
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sun May 26 20:01:31 2024 UTC