Bug #66597 [Com]: OPCACHE BUG

From: Date: Sun, 02 Feb 2014 15:51:36 +0000
Subject: Bug #66597 [Com]: OPCACHE BUG
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-184124@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=66597&edit=1

 ID:                 66597
 Comment by:         daniel at blodan dot se
 Reported by:        edu_1721 at hotmail dot com
 Summary:            OPCACHE BUG
 Status:             Feedback
 Type:               Bug
 Package:            opcache
 Operating System:   CENTOS 6.5 32 BITS
 PHP Version:        5.5.8
 Block user comment: N
 Private report:     N

 New Comment:

Having the same issue on FreeBSD with nginx 1.4.4 and php-fpm 5.5.8 with opcache, reverting back to
5.5.6 solves the issue.

Unfortunately I can't give a simple reproduceable script, the websites run through frameworks
such as laravel and codeigniter.

All I can tell is that the first request to a non-compiled script results in a Bad Gateway response,
the second request works as its supposed to. So it seems that opcache returns something different
the request it compiles the files than when it's reading from its cache.


Previous Comments:
------------------------------------------------------------------------
[2014-01-28 19:06:07] krakjoe@php.net

Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves. 

A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external 
resources such as databases, etc. If the script requires a 
database to demonstrate the issue, please make sure it creates 
all necessary tables, stored procedures etc.

Please avoid embedding huge scripts into the report.



------------------------------------------------------------------------
[2014-01-28 18:15:04] edu_1721 at hotmail dot com

Description:
------------
Hello, 

The OPCACHE in this php 5.5.8 is wrong.

In webserver Nginx last version, generate a Bad Gateway 502 error.

Anothers friends webmaster have the same problem.

I have fixed this problem using the OPCACHE in php 5.5.6 and work perfect.

You need check and path this bugs.

Thanks you.



------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=66597&edit=1


Thread (7 messages)

« previous php.bugs (#184124) next »