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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2024 The PHP Group
All rights reserved.
Last updated: Fri Dec 27 07:01:28 2024 UTC