|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2020-05-27 16:45 UTC] cmb@php.net
-Status: Open
+Status: Verified
-Type: Bug
+Type: Documentation Problem
[2020-05-27 16:45 UTC] cmb@php.net
[2020-05-28 16:15 UTC] abuse at botrax dot com
[2020-06-01 14:37 UTC] cmb@php.net
-Type: Documentation Problem
+Type: Bug
[2020-06-01 14:37 UTC] cmb@php.net
[2020-06-02 11:39 UTC] cmb@php.net
[2020-06-02 12:21 UTC] cmb@php.net
-Status: Verified
+Status: Closed
-Type: Bug
+Type: Documentation Problem
-Assigned To:
+Assigned To: cmb
[2020-06-02 12:21 UTC] cmb@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Wed Nov 05 02:00:01 2025 UTC |
Description: ------------ Zend Opcache v7.4.6 does not allow "opcache.max_wasted_percentage" to go over 0.50%, no matter the setting in INI. Causes Opcache to be constantly reset PHP 7.4.6 (cli) (built: May 12 2020 08:09:15) ( NTS ) Copyright (c) The PHP Group Zend Engine v3.4.0, Copyright (c) Zend Technologies with the ionCube PHP Loader v10.4.0 (beta2), Copyright (c) 2002-2020, by ionCube Ltd. with Zend OPcache v7.4.6, Copyright (c), by Zend Technologies "opcache.max_wasted_percentage" Setting of 60 sets it to 0.05% Setting of 50 sets it to 0.50% Setting of 5 sets it to 0.05% Setting of 6 sets it to 0.06% Using PHP 7.4 from REMI repo 10-opcache.ini /etc/opt/remi/php74/php.d php -i opcache.max_wasted_percentage => 50 => 50 Value is then verified from within WordPress plugins to display configuration of OpCache. 3 different WordPress plugins show "opcache.max_wasted_percentage" to be never above 0.50% Expected result: ---------------- Expect "opcache.max_wasted_percentage" OpCache parameter to be set from 0 to 100 in percentage. Expect script to read value to go above 0.50% when setting any value larger than 1. Value should return exact value configured in INI file. Actual result: -------------- OpCache "opcache.max_wasted_percentage" Setting of 60 sets it to 0.05% Setting of 50 sets it to 0.50% Setting of 5 sets it to 0.05% Setting of 6 sets it to 0.06%