-
Notifications
You must be signed in to change notification settings - Fork 58
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
Segmentation fault when deploying #109
Comments
I set up a repo with the code I'm using and having the error https://github.com/pepeloper/segmentation-fault The last comment show everything i have done so far https://github.com/pepeloper/segmentation-fault/commit/98ec275094d8ef20756ba31eace8163c46d4ba69 I'm thinking it's something AWS related and exploring it that way, but did all the steps by running |
Ok, it's related to the PHP Version. I have created a new fresh project with Laravel 9 and PHP 8.0.28, which works like a charm. @aarondfrancis thoughts on this? Here is the repo in case it helps: https://github.com/pepeloper/serverless_php_8 |
I got the same error. Is there a fix that doesn't involve changing the PHP version? |
Looking into this, thanks for the repo. Will report back ASAP |
What was the version that was segfaulting? PHP & Laravel version if you can. I just ran it locally on Laravel 9.52.7 and PHP 8.1.14 and it worked. I also tried Laravel 10.9. |
thanks for the help @aarondfrancis. I have been using Laravel 10.8 and php 8.2.4 |
I just tested on PHP 8.2.1 and Laravel 10.8 and it worked fine. I tried using |
I encounter the same issue with PHP 8.2.1 and Laravel 9.50.2. I was able to work around it by downgrading php to 8.1.14. This are my 2 cents. Sorry if I'm not providing much more help or info but I'm not able to spend a lot of time researching this issue since this only happened on my local env and not in production which is running on php 8.1.14. |
Upgraded to PHP 8.2 and the segfault is no more. |
Hey all, I have created a project from scratch and configured it with the basic example in the documentation and I got the following error when trying to deploy it:
Appreciate some help here because I'm totally lost
The text was updated successfully, but these errors were encountered: