Replies: 3 comments 1 reply
-
Just for curiosity, I tried the Nginx+PHP-FPM combination, the result is the same, only slightly different message in the modal
So it would seem that the culprit is PHP-FPM itself; however, I wouldn't know how to have it dump a proper log... Anyway, it seems to me that this is going quite OT for Laravel, unless someone else here has encountered similar problems in the past; if not, maybe I should just close/delete this thread? |
Beta Was this translation helpful? Give feedback.
-
Hi. Could it be related with the fact that php artisan queue:work without ---once is a long term php process and that some setup from your php fpm shuts it down after a while? Update another ideea https://stackoverflow.com/a/1564395 |
Beta Was this translation helpful? Give feedback.
-
I have the same problem, do you have any solution? |
Beta Was this translation helpful? Give feedback.
-
I am trying to develop an application using Laravel+InertiaJS, and I noticed that I have a problem where sometimes a PHP-FPM worker would just crash without having any error message to check; specifically, I am using Apache 2.4.52 with PHP 8.3.8.
In the FPM log I just see
and the web UI shows a modal (I think that is generated by InertiaJS itself) with the message
in this specific case, I step-debugged my code up to the line where I try to create a new entity:
Here,
$quote
is an array where I initially stored the needed data, in order to later create the model; on that line, it just dies without generating an exception or anything I can check to understand what went wrong.How do you perform debugging in this cases?
I noticed that if instead I run the app via
php artisan serve
it generates a proper exception; however, I'd like it to work with Apache too, as that is what might be used in production.Beta Was this translation helpful? Give feedback.
All reactions