|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #75144 APCu: needs something like "opcache.restrict_api"
Submitted: 2017-09-01 11:23 UTC Modified: 2017-10-24 08:50 UTC
From: spam2 at rhsoft dot net Assigned:
Status: Open 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 — but make sure to vote on the bug!
Your email address:
Solve the problem:
28 + 28 = ?
Subscribe to this entry?

 [2017-09-01 11:23 UTC] spam2 at rhsoft dot net
with "opcache.restrict_api=/usr/share/php/opcache.php" you can restrict cache-status especially list cached URLs to a specific file path and protect that one from outside access

for "apcu" you cuurently need to disallow "APCUIterator" and "apcu_cache_info, apcu_clear_cache, apcu_sma_info" and since all the disable_functions / disable_classes stuff don't work PER_DIR you have either no status infos at all or can't protect against abuse on a shared host


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2017-10-24 08:50 UTC]
-Summary: apcu needs something like "opcache.restrict_api" +Summary: APCu: needs something like "opcache.restrict_api"
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Wed May 12 15:01:28 2021 UTC