PHP app starts but cannot reach its database
The application is running but cannot reach its database. Check the database credentials in the project environment, and that the database service is up.
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.
Seen3 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 container starts successfully and responds with HTTP 200 on port 8000, but the application reports a database connection error. The project has no configured environment source, so required database credentials may be missing. A database service may also be absent or unreachable.
What the log looks like
Deploy log
Detected project type: PHP (no Composer)Using strategy: phpStarting application (docker compose up -d)Container project-app-1 StartedHealth check: http://[ip]:8000/ answered HTTP 200Check failed: The application is running but cannot reach its database.Deploy finished with warnings