|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #77070 could not obtain parameters for parsing in Unknown on line 0
Submitted: 2018-10-27 00:22 UTC Modified: 2018-10-27 19:14 UTC
From: root4root at gmail dot com Assigned:
Status: Open Package: opcache
PHP Version: 7.2.11 OS: Linux debian and gentoo
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2018-10-27 00:22 UTC] root4root at gmail dot com
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:

Test script:
Can't reproduce without whole projects code.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-10-27 00:44 UTC]
-Status: Open +Status: Feedback
 [2018-10-27 00:44 UTC]
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:45 UTC]
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
 [2018-10-27 19:14 UTC] root4root at gmail dot com
-Status: Feedback +Status: Open
 [2018-10-27 19:14 UTC] root4root at gmail dot com
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).
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Mon Nov 23 20:01:23 2020 UTC