[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"problem-detail-error-runtime-php-is-required-but-could-not-be":3},{"stack":4,"error":5,"seoName":6,"seoStack":7,"seo":8,"breadcrumb":10,"titlePrefix":15,"titleAccent":16,"lead":17,"facts":20,"why":33,"log":38,"fix":51,"engine":60,"related":68,"pitch":71},"all","runtime-php-is-required-but-could-not-be","Deploy fails because no PHP runtime can be resolved for the project","PanelAlpha Engine",{"description":9},"Learn what causes Deploy fails because no PHP runtime can be resolved for the project, how PanelAlpha Engine responds to it during deployment.",[11,14],{"label":12,"href":13},"App Installations","\u002Fapps",{"label":6},"Deploy fails because ","no PHP runtime can be resolved for the project",[18],{"text":19},"Error recorded 1 times in PanelAlpha Engine deploys. The deploy log below is the recorded failure output.",[21,26,29],{"label":22,"value":23,"tone":24,"tooltip":25},"Type","Error","err","An error that occurred in the deployed application. It is not necessarily a PanelAlpha Engine error, but we keep working on improvements so you run into fewer of them.",{"label":27,"value":28},"Seen","1 times",{"label":30,"value":31,"tooltip":32},"Status","Observed","Our team will look into this soon, verify the cause and try to fix it in an upcoming release.",{"heading":34,"body":35},"Why it happens",[36],{"text":37},"The deployment reached the running stage but could not determine a PHP runtime for the project. The deploy strategy and platform were not identified, even though a Docker Compose manifest was present. The host’s installed PHP version does not guarantee that the project runtime can be resolved.",{"heading":39,"block":40},"What the log looks like",{"header":41,"lines":42},"Deploy log",[43,47],{"segments":44},[45],{"text":46},"Starting stage: running",{"segments":48},[49],{"text":50},"Deploy failed: Runtime 'php' is required but could not be resolved for this project",{"heading":52,"steps":53,"block":57},"How to fix it",[54],[55],{"text":56},"Check the project files and app configuration for a clear PHP runtime requirement. Set the intended deploy strategy\u002Fplatform explicitly, or correct the Compose configuration if the application is containerized. Confirm that the required PHP runtime is available to the selected strategy, then rebuild and deploy again.",{"header":58,"lines":59},"Fix by hand",[],{"heading":61,"body":62,"block":65},"How PanelAlpha Engine solves it",[63],{"text":64},"Improve platform and strategy detection when a Docker Compose manifest is present, and report which project file or configuration caused PHP to be required. Avoid relying on the host PHP installation as proof that the project runtime is available.",{"header":66,"lines":67},"",[],{"heading":69,"items":70},"Apps affected",[],{"heading":72,"body":73,"footNote":74,"docsLabel":75,"docsHref":76},"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"]