[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"problem-detail-error-php-deploy-fails-with-composer-not-found-when":3},{"stack":4,"error":5,"seoName":6,"seoStack":7,"seo":8,"breadcrumb":10,"titlePrefix":17,"titleAccent":18,"lead":19,"facts":22,"why":37,"log":42,"fix":59,"engine":68,"related":73,"pitch":80},"php","php-deploy-fails-with-composer-not-found-when","PHP deploy fails with composer not found when the shared PHP base is unavailable","Php",{"description":9},"Learn what causes PHP deploy fails with composer not found when the shared PHP base is unavailable, how PanelAlpha Engine responds to it during deployment.",[11,14,16],{"label":12,"href":13},"App Installations","\u002Fapps",{"label":7,"href":15},"\u002Fapps\u002Fstacks\u002Fphp",{"label":6},"PHP deploy fails with composer not found when ","the shared PHP base is unavailable",[20],{"text":21},"Error recorded 1 times in PanelAlpha Engine deploys on Php. The deploy log below is the recorded failure output.",[23,28,31,33],{"label":24,"value":25,"tone":26,"tooltip":27},"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":29,"value":30},"Seen","1 times",{"label":32,"value":7},"Where",{"label":34,"value":35,"tooltip":36},"Status","In Analysis","Our team will look into this soon, verify the cause and try to fix it in an upcoming release.",{"heading":38,"body":39},"Why it happens",[40],{"text":41},"The engine could not provide its own PHP base image for this deploy and fell back to the stock PHP image, which has no Composer, so installing the dependencies failed.",{"heading":43,"block":44},"What the log looks like",{"header":45,"lines":46},"Deploy log",[47,51,55],{"segments":48},[49],{"text":50},"[panelalpha] build: dependencies",{"segments":52},[53],{"text":54},"[panelalpha] composer plugins allowed: composer\u002Finstallers, drupal\u002Fcore-composer-scaffold, drupal\u002Fcore-recipe-unpack, drupal\u002Fcore-project-message, symfony\u002Fruntime; any other plugin is installed but not run",{"segments":56},[57],{"text":58},"sh: 3: composer: not found",{"heading":60,"steps":61,"block":65},"How to fix it",[62],[63],{"text":64},"Redeploy in a few minutes: the base image is built in the background and the next deploy uses it.",{"header":66,"lines":67},"Fix by hand",[],{"heading":69,"body":70,"block":71},"",[],{"header":69,"lines":72},[],{"heading":74,"items":75},"Apps affected",[76],{"title":77,"badge":78,"tone":26,"href":79},"dokuwiki\u002Fdokuwiki","1 occurrence","\u002Fapps\u002Fsplitbrain\u002Fdokuwiki",{"heading":81,"body":82,"footNote":83,"docsLabel":84,"docsHref":85},"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"]