PHP app starts but returns a fatal error
The application answered with a PHP fatal error. The message in the page names the file and line. A fatal on every request usually means a missing extension or an incomplete install.
TypeWarningAn issue PanelAlpha Engine catches around a deploy that does not break it. It tells you, before or after, that you may need to do something.
Seen9 times
WherePhp
StatusObservedOur team will look into this soon, verify the cause and try to fix it in an upcoming release.
Why it happens
The PHP container is running and responds with HTTP 200, but the application fails during request handling. A fatal error on every request commonly indicates a missing PHP extension, missing application files, or an incomplete setup. The exact cause is shown in the PHP error message with its file and line.
What the log looks like
Deploy log
Starting application (docker compose up -d)Container project-app-1 StartedHealth check: http://[ip]:8000/ answered HTTP 200Reachable through the webserverCheck failed: The application answered with a PHP fatal errorDeploy finished with warnings: The application answered with a PHP fatal error