|  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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If this is not your bug, you can add a comment by following this link.
If this is your bug, but you forgot your password, you can retrieve your password here.
Bug Type:
From: php at maximilianb dot de
New email:
PHP Version: OS:


 [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: Thu Dec 07 12:01:28 2023 UTC