php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #68155 opcache.file_update_protection, opcache.restrict_api not documented
Submitted: 2014-10-05 00:43 UTC Modified: 2020-04-09 13:16 UTC
Votes:2
Avg. Score:3.0 ± 1.0
Reproduced:2 of 2 (100.0%)
Same Version:2 (100.0%)
Same OS:1 (50.0%)
From: greenreaper at hotmail dot com Assigned: cmb (profile)
Status: Closed Package: opcache
PHP Version: Irrelevant OS:
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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: greenreaper at hotmail dot com
New email:
PHP Version: OS:

 

 [2014-10-05 00:43 UTC] greenreaper at hotmail dot com
Description:
------------
---
From manual page: http://www.php.net/opcache.configuration
---


The configuration setting opcache.file_update_protection is not documented. It appears to be analogous to the apc variable of the same name which prevents caching files that are less than this number of seconds old.

https://raw.githubusercontent.com/zendtech/ZendOptimizerPlus/master/README

---

The configuration setting opcache.restrict_api also appears in the output of phpinfo but is not mentioned in the documentation.

It appears to restrict the script path the api functions are executed from:
https://github.com/zendtech/ZendOptimizerPlus/issues/89

#66441 mentions this as well, but has been reported for a particular version of PHP and I can't edit it.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-03-20 16:16 UTC] zoeslam at gmail dot com
I would like a documentation too for these two options.

For the first one, i suppose it's similar to:
http://php.net/manual/it/apc.configuration.php#ini.apc.file-update-protection
 [2017-01-28 12:46 UTC] cmb@php.net
-Package: Documentation problem +Package: opcache
 [2020-04-09 13:16 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 [2020-04-09 13:16 UTC] cmb@php.net
The documentation had been updated in the meantime.
 
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Dec 02 13:03:33 2021 UTC