Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PHP 8.1 502 Bad Gateway #96

Open
Mich-es opened this issue Apr 20, 2023 · 5 comments
Open

PHP 8.1 502 Bad Gateway #96

Mich-es opened this issue Apr 20, 2023 · 5 comments

Comments

@Mich-es
Copy link

Mich-es commented Apr 20, 2023

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?

@amnuts
Copy link
Owner

amnuts commented Apr 22, 2023

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

@dayneeds
Copy link

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
Copy link

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

@dayneeds
Copy link

apache error message

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

@amnuts
Copy link
Owner

amnuts commented Aug 15, 2023

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!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants