php.net |  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
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: giunta dot gaetano at gmail dot com
New email:
PHP Version: OS:

 

 [2011-12-06 08:40 UTC] giunta dot gaetano at gmail dot com
Description:
------------
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


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2016-11-18 21:32 UTC] kalle@php.net
-Status: Open +Status: Wont fix
 [2016-11-18 21:32 UTC] kalle@php.net
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-2020 The PHP Group
All rights reserved.
Last updated: Sun Nov 29 02:01:23 2020 UTC