|  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
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:
Solve the problem:
37 + 35 = ?
Subscribe to this entry?

 [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-2023 The PHP Group
All rights reserved.
Last updated: Wed May 31 23:03:40 2023 UTC