[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"problem-detail-warning-health-php-error":3},{"stack":4,"error":5,"seoName":6,"seoStack":7,"seo":8,"breadcrumb":10,"titlePrefix":17,"titleAccent":6,"lead":18,"facts":21,"why":36,"log":41,"fix":70,"engine":79,"related":86,"pitch":102},"php","health-php-error","PHP app starts but returns a fatal error","Php",{"description":9},"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 ",[11,14,16],{"label":12,"href":13},"App Installations","\u002Fapps",{"label":7,"href":15},"\u002Fapps\u002Fstacks\u002Fphp",{"label":6},"",[19],{"text":20},"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.",[22,27,30,32],{"label":23,"value":24,"tone":25,"tooltip":26},"Type","Warning","warn","An 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.",{"label":28,"value":29},"Seen","9 times",{"label":31,"value":7},"Where",{"label":33,"value":34,"tooltip":35},"Status","Observed","Our team will look into this soon, verify the cause and try to fix it in an upcoming release.",{"heading":37,"body":38},"Why it happens",[39],{"text":40},"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.",{"heading":42,"block":43},"What the log looks like",{"header":44,"lines":45},"Deploy log",[46,50,54,58,62,66],{"segments":47},[48],{"text":49},"Starting application (docker compose up -d)",{"segments":51},[52],{"text":53},"Container project-app-1 Started",{"segments":55},[56],{"text":57},"Health check: http:\u002F\u002F[ip]:8000\u002F answered HTTP 200",{"segments":59},[60],{"text":61},"Reachable through the webserver",{"segments":63},[64],{"text":65},"Check failed: The application answered with a PHP fatal error",{"segments":67},[68],{"text":69},"Deploy finished with warnings: The application answered with a PHP fatal error",{"heading":71,"steps":72,"block":76},"How to fix it",[73],[74],{"text":75},"Open the deployed application directly and capture the fatal-error file and line. Check that the referenced file exists and that the application’s required setup has run. If the error names an extension, enable or add it to the PHP image; if it names a database or configuration value, verify the required environment variables and database connection. Redeploy after correcting the issue.",{"header":77,"lines":78},"Fix by hand",[],{"heading":80,"body":81,"block":84},"How PanelAlpha Engine solves it",[82],{"text":83},"The health check should distinguish a PHP fatal-error response from a successful application response even when the HTTP status is 200, and expose the captured file and line more directly. Engine could also validate common PHP extensions and incomplete setup conditions before marking the deployment partial.",{"header":17,"lines":85},[],{"heading":87,"items":88},"Apps affected",[89,94,98],{"title":90,"badge":91,"tone":92,"href":93},"uvdesk\u002Fcommunity-skeleton","4 occurrences","err","\u002Fapps\u002Fuvdesk\u002Fcommunity-skeleton",{"title":95,"badge":96,"tone":92,"href":97},"ZoneMinder","3 occurrences","\u002Fapps\u002Fzoneminder\u002Fzoneminder",{"title":99,"badge":100,"tone":92,"href":101},"Homepage","2 occurrences","\u002Fapps\u002Ftomershvueli\u002Fhomepage",{"heading":103,"body":104,"footNote":105,"docsLabel":106,"docsHref":107},"Try PanelAlpha Engine yourself.","The easiest way to turn your server into a safe, controlled environment for your AI agent. Deploy, manage and maintain any project from Claude Code, Cursor, Codex or any other MCP client. Open source under Apache 2.0, free to run.","Requires Ubuntu 24.04 or 26.04 · 2 GB RAM · 1 CPU","Read the documentation","https:\u002F\u002Fpanelalpha.com\u002Fdocs"]