php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #68894 opcache.max_accelerated_files limit wrong
Submitted: 2015-01-23 18:17 UTC Modified: 2015-07-22 10:48 UTC
From: mattleff at gmail dot com Assigned: peehaa (profile)
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: NA
Private report: No CVE-ID: None
 [2015-01-23 18:17 UTC] mattleff at gmail dot com
Description:
------------
From the PHP docs (http://php.net/manual/en/opcache.configuration.php#ini.opcache.max-accelerated-files):

"Only numbers between 200 and 100000 are allowed."

I've tested this on a machine running PHP 5.5.20 and values above 100k are allowed. This is confirmed by the source (https://github.com/php/php-src/blame/master/ext/opcache/zend_accelerator_module.c#L37) and the relevant commit  on 10-28-2013 (https://github.com/php/php-src/commit/eb22041ffe70d5ff206d62c6cb12fc38c23475ce). It would be good to add a note that the value was raised.


Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2015-07-22 09:35 UTC] peehaa@php.net
-Assigned To: +Assigned To: peehaa
 [2015-07-22 10:48 UTC] peehaa@php.net
-Status: Assigned +Status: Closed
 [2015-07-22 10:48 UTC] peehaa@php.net
This bug has been fixed in the documentation's XML sources. Since the
online and downloadable versions of the documentation need some time
to get updated, we would like to ask you to be a bit patient.

Thank you for the report, and for helping us make our documentation better.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Wed Apr 24 23:01:34 2024 UTC