-
-
Notifications
You must be signed in to change notification settings - Fork 276
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
Since v1.1.5 frankenphp crash on laravel 11 project #1346
Comments
Does this only happen on 1.1.5 or also on the newest version (1.4.1) ? What is the original |
Since 1.1.5, and happen only on my server, not on my local machine. |
On my server, I just created a new Laravel 11 project. Frankenphp doesn't crash... so this means that it's the code loading in my project that's causing this crash... maybe a vendor... the search is going to be difficult.. |
Oooooh If I add your code @AlliBalliBaba in "/" route (see in screenshot) franken crash.. |
And locally you're using Ubuntu, but the server is running on Rocky Linux? I'd usually expect the static binary to be compatible with all Linux x86_64 distributions, but that might not be the case? @dunglas I think what you could also try is building the static binary directly on the server according to this instruction. |
Locally I'm on Fedora. |
In theory this should be compatible with all servers but it's just theory... |
The issue could be that your kernel is older on your server? A static build usually uses the "latest" syscall maps in libc, and on an older kernel, it may not support newer syscalls. A custom build on the machine itself will use the system's libc and compile in a real syscall table that is actually supported. I'm not saying that is the issue, but seeing as that it is gmp which does some syscall and/or cpu extension stuff, it is possibly a kernel/cpu support issue. |
@dunglas -- it might be a compile-time issue as well in the static builder. Generally |
What happened?
Hello,
Since version 1.1.5, FrankenPHP has been consistently crashing when used with a Laravel 11 project. The crash occurs immediately upon the first page load attempt.
See below the crash debug
Build Type
Official static build
Worker Mode
Yes
Operating System
GNU/Linux
CPU Architecture
x86_64
PHP configuration
Relevant log output
It appears that the crash is coming from the gmp extension
The text was updated successfully, but these errors were encountered: