Doc #80015 [Ver->Csd]: opcache.jit setting not documented

From: Date: Mon, 19 Jul 2021 15:10:53 +0000
Subject: Doc #80015 [Ver->Csd]: opcache.jit setting not documented
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-18970@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=80015&edit=1 ID: 80015 Updated by: cmb@php.net Reported by: buschmann at nidsa dot net Summary: opcache.jit setting not documented -Status: Verified +Status: Closed Type: Documentation Problem Package: JIT Operating System: Windows 10 Pro 64bit PHP Version: 8.0.0beta2 -Assigned To: +Assigned To: cmb Block user comment: N Private report: N New Comment: The documentation has been written in the meantime: <https://www.php.net/manual/en/opcache.configuration.php#ini.opcache.jit>. Previous Comments: ------------------------------------------------------------------------ [2020-08-25 17:32:51] cmb@php.net It's pretty strange that you get an error with opcache.jit=205; that does exactly what it should for me. The error message has apparently not been updated since the latest changes, though. Anyhow, it doesn't matter whether the INI value is enclosed in double-quotes or not. > Is there a beta version of the documentation containing the new > configuration flags, the incompatibilities and deprecations and > the new features? All relevant information is supposed to be contained in UPGRADING[1]; unfortunately, there is almost no info about the JIT. [1] <https://github.com/php/php-src/blob/php-8.0.0beta2/UPGRADING> ------------------------------------------------------------------------ [2020-08-25 11:55:18] buschmann at nidsa dot net I tried the solution with opcache.jit=205 and got [24-Aug-2020 14:47:46 UTC] PHP Warning: Invalid "opcache.jit" setting. Should be "disable", "on", "off" or 4-digit number in Unknown on line 0 Setting it to opcache.jit=on (on non AVX machine) resulted in [Tue Aug 25 13:33:21.150470 2020] [mpm_winnt:notice] [pid 12728:tid 680] AH00428: Parent: child process 7524 exited with status 4294967295 -- Restarting. Setting it to opcache.jit="on" (on non AVX machine) resulted in [Tue Aug 25 13:37:13.241891 2020] [mpm_winnt:notice] [pid 10180:tid 688] AH00428: Parent: child process 5420 exited with status 3221225477 -- Restarting. Setting it to opcache.jit="off" disabled it and apps are running fine. IMHO it is really difficult to get our applications tested against PHP 8. We as users are asked to test our software in the prerelease phase from alpha1 to RC5. But we have no information how to configure the new features. Is there a beta version of the documentation containing the new configuration flags, the incompatibilities and deprecations and the new features? For me it is even not clear if I should specify the value of opcache.jit in doublequotes or not. The problem with not AVX-capable hardware still remains and is not transparent for the user. Please provide the beta documentation or integrate the new stuff in https://www.php.net/docs.php Thanks ------------------------------------------------------------------------ [2020-08-24 16:34:06] cmb@php.net s/actual/octal/ ------------------------------------------------------------------------ [2020-08-24 16:33:41] cmb@php.net Well, that's not quite right. The old numeric flags are still supported, but "0205" is interpreted as actual, and as such rejected. You could use "205" instead. ------------------------------------------------------------------------ [2020-08-24 16:29:36] cmb@php.net The meaning of opcache.jit is changed as of PHP 8.0.0beta1; now it basically accepts "function", "tracing" (the default) and "off". Since "0205" is no longer accepted, the default is used, and so the crash has the same root cause as bug #80014. I'm changing this to documentation problem, because the change of opcache.jit doesn't seem to be documented. ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=80015 -- Edit this bug report at https://bugs.php.net/bug.php?id=80015&edit=1

« previous php.doc.bugs (#18970) next »