Bug #66474 [Csd]: end of script before headers = error 500

From: Date: Tue, 07 Apr 2015 22:42:40 +0000
Subject: Bug #66474 [Csd]: end of script before headers = error 500
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-191890@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 User updated by: phpdev at ehrhardt dot nl Reported by: phpdev at ehrhardt dot nl Summary: end of script before headers = error 500 Status: Closed Type: Bug Package: opcache Operating System: Any PHP Version: 5.5.8 Block user comment: N Private report: N New Comment: PHP 5.4 does not have a bundled opcache. If you were using opcache with PHP 5.4 then the only way to get it is by using the ZendOptimizer sources from github. Those sources surely have the bugfix for this specific bug: https://github.com/zendtech/ZendOptimizerPlus/blob/master/Optimizer/block_pass.c#L1060 You must have run into another bug. Previous Comments: ------------------------------------------------------------------------ [2015-04-07 22:07:34] accounts at 75thtrombone dot com As the first comment says, this bug applies to PHP 5.4 as well as 5.5+. I just had to upgrade a site to 5.5 to fix it. I know 5.4 is in security-fix-only mode now, so I doubt this will ever get backported, but given that it was brought up during the Active Support period, I thought I'd mention it just in case. ------------------------------------------------------------------------ [2014-01-16 19:14:31] spam2 at rhsoft dot net thanks for disallow comments and close https://bugs.php.net/bug.php?id=66460 that will help to make things better............... nothing is fixed - opcache with enabled optimizer which is default after 5.5.6 is broken and worked before https://bugs.php.net/bug.php?id=66499 ------------------------------------------------------------------------ [2014-01-16 01:29:11] spam2 at rhsoft dot net i took the source of https://github.com/zendtech/ZendOptimizerPlus/archive/master.zip and repalced the "opcache" folder of 5.5.8 tarball ------------------------------------------------------------------------ [2014-01-15 22:13:11] phpdev at ehrhardt dot nl @rhsoft: did you try the block_pass.c from the 5.5.6 tarball and the other files from the 5.5.8 tarball? ------------------------------------------------------------------------ [2014-01-15 22:01:12] spam2 at rhsoft dot net https://github.com/zendtech/ZendOptimizerPlus/archive/master.zip solves *nothing* the same segfaults as https://bugs.php.net/bug.php?id=66460 the only solution currently is take the "opcache" folder from 5.5.6 and replace the one from 5.5.7/5.5.8, i tried the master above a few minutes ago [Wed Jan 15 22:57:48.019059 2014] [core:notice] [pid 28817] AH00052: child pid 28820 exit signal Segmentation fault (11) [Wed Jan 15 22:57:49.020977 2014] [core:notice] [pid 28817] AH00052: child pid 28841 exit signal Segmentation fault (11) ------------------------------------------------------------------------ The remainder of the comments for this report are too long. To view the rest of the comments, please view the bug report online at https://bugs.php.net/bug.php?id=66474 -- Edit this bug report at https://bugs.php.net/bug.php?id=66474&edit=1

« previous php.bugs (#191890) next »