Edit report at https://bugs.php.net/bug.php?id=78125&edit=1
ID: 78125
User updated by: aschmidt at anamera dot net
Reported by: aschmidt at anamera dot net
Summary: Persistent php-cgi.exe access fault
-Status: Assigned
+Status: Closed
Type: Bug
Package: opcache
Operating System: Win x64
PHP Version: 7.3.7RC3
Assigned To: cmb
Block user comment: N
Private report: N
New Comment:
FYI - the phpinfo() problem with php-cgi was due to the Win32Service extension garbling the
Content-Type header.
How now been fixed with Win32Service 0.4.1
Previous Comments:
------------------------------------------------------------------------
[2019-06-25 16:35:45] aschmidt at anamera dot net
The php-cgi.exe access fault no longer occurs, even if
opcache.enable_cli=1
opcache.enable=1
Thank you for that.
I took the time and disabling/enabling extension one at a time.
The module that causes the phpinfo(8) crash in your recent PHP 7.3.x and 7.2.x builds is the
win32service 4.0 extension (the production release of 2019-02-20).
(It doesn't matter if WinCache, OPcache, or xdebug are active or removed at the same time.)
------------------------------------------------------------------------
[2019-06-25 08:42:48] cmb@php.net
Please try with PHP 7.3.7RC3 (<https://windows.php.net/qa/#php-7.3>).
------------------------------------------------------------------------
[2019-06-19 00:19:13] aschmidt at anamera dot net
The most functional environment is:
7.3.6 or 7.2.19
WITH WinCache
WITH OpCache
BUT opcache.enable_cli=0 !!!
In THAT combination:
- php-cli will work (uncached),
- php-cgi will work (cached),
- phpinfo(8) will work.
------------------------------------------------------------------------
[2019-06-19 00:07:25] aschmidt at anamera dot net
phpinfo( 8 ) FAILS with php-7.3-nts-windows-vc15-x64-r11b354d
- even without OPcache, Wincache
but WORKS fine with php 7.3.6
(So the same phpinfo(8) problem as with 7.2, fails after 7.2.19).
Concurrent php-cli and php-cgi with OPcache crashes:
php-7.3-nts-windows-vc15-x64-r11b354d
7.3.6, 7.3.5, 7.3.4
It does NOT matter if wincache extension is removed.
However, concurrent php-cli and php-cgi WORKS with wincache in all those 7.3.x, as soon as OPcache
is removed.
Sorry - testing with different permissions/users is not practical, because the php-cli service and
the php-cgi web site rely on certain network shares that require certain privileges.
------------------------------------------------------------------------
[2019-06-18 08:14:46] cmb@php.net
Thanks for further checking! I have some further questions which
may help to localize the problem:
* Did neither of the two issues occur with 7.3.5?
* Which exact revision of 7.3.8-dev did you test? Was it
r9f0515c?
* Can you reproduce the two issues without Xdebug and Wincache?
* What happens when you run FCGI and the CLI service under
different user accounts?
------------------------------------------------------------------------
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=78125
--
Edit this bug report at https://bugs.php.net/bug.php?id=78125&edit=1