opcache-gui icon indicating copy to clipboard operation
opcache-gui copied to clipboard

PHP 8.1 502 Bad Gateway

Open Mich-es opened this issue 1 year ago • 5 comments

Hi,

after i switch from PHP 8.0 to 8.1 i got a 502 Bad Gateway after calling your Script. is this a possible bug, or do I need to set something else?

Mich-es avatar Apr 20 '23 16:04 Mich-es

Hi @Mich-es; no, using PHP 8.1 shouldn't cause a problem like that. As you can see from this screenshot, I've got 8.1 running and it fired up just fine. Might be something in the platform or configuration, of course, but I'm unsure as to what and it really depends on how you've got things set up (and it's unlikely I'm doing things in the same way).

Screenshot 2023-04-23 001107

amnuts avatar Apr 22 '23 23:04 amnuts

Hi,

I also experienced "502 Bad Gateway". I manage 3 independent web servers. It happened in 2 of them. The common denominator was keeping the opcache-gui index page open. I fixed it by restarting apache. I have a feeling jit is involved.

私も「502 Bad Gateway」を経験しました。 3台の独立したwebサーバーを管理していますが、 そのうち2台で発生しました。 共通点はopcache-guiのindexページを開いたままにしていたことです。 apacheを再起動したら直りました。 jitが関係している気がします。

dayneeds avatar Jun 12 '23 22:06 dayneeds

I have a feeling it happens when you set opcache.jit_buffer_size to 0 or higher. PHP 8.1

dayneeds avatar Jun 12 '23 22:06 dayneeds

apache error message

AH00052: child pid 29470 exit signal Segmentation fault (11)

dayneeds avatar Jun 12 '23 23:06 dayneeds

Sorry for the delay in getting back to you!

Sounds like a bug with Zend OP Cache and/or Apache, so probably very little I can do about it. I can try playing around with it, though, and see if I can replicate, but I'm not holding out much hope, tbh!

amnuts avatar Aug 15 '23 15:08 amnuts