|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #68007 Clearing the APC cache from CLI
Submitted: 2014-09-11 13:49 UTC Modified: 2014-09-15 06:00 UTC
From: php at maximilianb dot de Assigned:
Status: Not a bug Package: APC (PECL)
PHP Version: Irrelevant OS: Irrelevant
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 !
Your email address:
Solve the problem:
44 - 33 = ?
Subscribe to this entry?

 [2014-09-11 13:49 UTC] php at maximilianb dot de
As mentioned in one of the user comments you have to send an HTTP request to clear all of the caches. If you call apc_clear_cache() from the CLI only the CLI cache will be cleared.

I think this is an essential information and should mentioned in the manual itself rather than only in a comment.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2014-09-15 06:00 UTC]
-Status: Open +Status: Not a bug
 [2014-09-15 06:00 UTC]
That seems extremely obvious, it couldn't possibly behave another way.

So I think we'll pass on including a message about this one particular functions behaviour, and continue to let it be obvious that distinct processes have distinct caches.
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Fri Dec 08 00:01:30 2023 UTC