|  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: 2021-03-14 04:22 UTC
From: root4root at gmail dot com Assigned: cmb (profile)
Status: No Feedback 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).
 [2021-03-02 12:08 UTC]
-Status: Open +Status: Feedback -Assigned To: +Assigned To: cmb
 [2021-03-02 12:08 UTC]
Is this still an issue with any of the actively supported PHP

[1] <>
 [2021-03-14 04:22 UTC] php-bugs at lists dot php dot net
No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Re-Opened". Thank you.
PHP Copyright © 2001-2021 The PHP Group
All rights reserved.
Last updated: Thu Aug 05 08:01:24 2021 UTC