Bug #66474 [NEW]: end of script before headers = error 500
| From: | phpdev at ehrhardt dot nl | Date: | Sun, 12 Jan 2014 22:42:59 +0000 |
| Subject: | Bug #66474 [NEW]: end of script before headers = error 500 | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-183738@lists.php.net to get a copy of this message | ||
From: phpdev at ehrhardt dot nl
Operating system: Windows
PHP version: 5.5.8
Package: opcache
Bug Type: Bug
Bug description:end of script before headers = error 500
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 bug report at https://bugs.php.net/bug.php?id=66474&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=66474&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=66474&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=66474&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=66474&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=66474&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=66474&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=66474&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=66474&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=66474&r=support
Expected behavior: https://bugs.php.net/fix.php?id=66474&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=66474&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=66474&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=66474&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=66474&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=66474&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=66474&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=66474&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=66474&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=66474&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=66474&r=mysqlcfg