Bug #66474 [Com]: end of script before headers = error 500
| From: | phpdev at ehrhardt dot nl | Date: | Mon, 13 Jan 2014 04:42:27 +0000 |
| Subject: | Bug #66474 [Com]: end of script before headers = error 500 | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-183744@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=66474&edit=1
ID: 66474
Comment by: phpdev at ehrhardt dot nl
Reported by: phpdev at ehrhardt dot nl
Summary: end of script before headers = error 500
Status: Open
Type: Bug
Package: opcache
Operating System: Windows
PHP Version: 5.5.8
Block user comment: N
Private report: N
New Comment:
I reproduced the bug on a CentOS 5 server, with PHP 5.4 NTS loaded as mod_fcgid and opcache.so
compiled with the currect GIT head sources. So this bug is not Windows specific!
The Superfish 7.x-1.9 can be found here:
https://drupal.org/project/superfish
Previous Comments:
------------------------------------------------------------------------
[2014-01-12 22:42:58] phpdev at ehrhardt dot nl
Description:
------------
Enable superfish 7.x-1.9 in any Drupal 7 site and run it with php-cgi.exe from PHP NTS 5.4.24 or PHP
5.5.7+ (x86 or x64) and php_opcache.dll with the recommended settings. You will get an internal
server error 500, due to 'End of script output before headers: php-cgi.exe'.
Culprit are the changes in block_pass.c in this patch:
https://github.com/zendtech/ZendOptimizerPlus/commit/b73b6a5559d6ca4925a09ed284a4e93be06726ed
Reverting those changes resolves this issue, but might undo the fix for bug #66176.
Expected result:
----------------
No end of script output before headers
Actual result:
--------------
End of script output before headers
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66474&edit=1