Bug #77070 [Fbk->Opn]: could not obtain parameters for parsing in Unknown on line 0
| From: | root4root at gmail dot com | Date: | Sat, 27 Oct 2018 19:14:08 +0000 |
| Subject: | Bug #77070 [Fbk->Opn]: could not obtain parameters for parsing in Unknown on line 0 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-217716@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=77070&edit=1
ID: 77070
User updated by: root4root at gmail dot com
Reported by: root4root at gmail dot com
Summary: could not obtain parameters for parsing in Unknown
on line 0
-Status: Feedback
+Status: Open
Type: Bug
Package: opcache
Operating System: Linux debian and gentoo
PHP Version: 7.2.11
Block user comment: N
Private report: N
New Comment:
Yes, same result with 7.3.0RC4. Compiled from official src (--enable-maintainer-zts and without it).
Apache2 mod_php mpm prefork mode.
----------
On production server mentioned earlier, I use php-fpm which no needs zts by definition (as far as I
understand).
Previous Comments:
------------------------------------------------------------------------
[2018-10-27 00:45:39] daverandom@php.net
The tests requested above will likely require building PHP from source and (especially on Debian)
the distro patches should be incorporated into the builds - should you require assistance with this
or anything else, you can usually find me (@DaveRandom) in the PHP chat room on Stack Overflow https://chat.stackoverflow.com/rooms/11/php
------------------------------------------------------------------------
[2018-10-27 00:44:12] daverandom@php.net
Please confirm whether the PHP installations you have tested against are using thread-safe
configurations. Historically there have been a number of bugs with opcache which only affect
thread-safe (zts) builds, so you may find that the issues will disappear if you switch to a
non-thread-safe (nts) build - or vice versa.
It would also be great if you could try to repro on 7.3, both zts and nts.
------------------------------------------------------------------------
[2018-10-27 00:22:57] root4root at gmail dot com
Description:
------------
Fatal error: dispatcher::launch(): could not obtain parameters for parsing in Unknown on line 0
Same project on different environments:
Error occurs: PHP 7.2.11 (Debian + php7.2-fpm)
Error occurs: PHP 7.2.10 (Gentoo + Apache2 mod_php)
No error: PHP 7.1.18 (Gentoo + Apache2 mod_php)
No error: PHP 7.0.30 (Gentoo + Apache2 mod_php)
Related with opcache, error disappears when disable it.
Looks like the same cause: https://stackoverflow.com/questions/49400921/laravel-with-opcache?rq=1
Test script:
---------------
Can't reproduce without whole projects code.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=77070&edit=1