[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"problem-detail-error-panelalpha-build-dependencies":3},{"stack":4,"error":5,"seoName":6,"seoStack":7,"seo":8,"breadcrumb":10,"titlePrefix":17,"titleAccent":18,"lead":19,"facts":22,"why":37,"log":47,"fix":76,"engine":104,"related":112,"pitch":126},"php","panelalpha-build-dependencies","PHP deploy fails because the memcached extension is missing","Php",{"description":9},"Learn what causes PHP deploy fails because the memcached extension is missing, 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 because ","the memcached extension is missing",[20],{"text":21},"Error recorded 4 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","4 times · 3 variants",{"label":32,"value":7},"Where",{"label":34,"value":35,"tooltip":36},"Status","Observed","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,42,45],{"text":41},"Composer could not install the locked dependencies because the project requires the PHP ",{"text":43,"code":44},"ext-memcached",true,{"text":46}," extension. The selected PHP 8.3 runtime does not have that extension enabled. The failure occurred during dependency installation, before the application started, so no health check was performed.",{"heading":48,"block":49},"What the log looks like",{"header":50,"lines":51},"Deploy log",[52,56,60,64,68,72],{"segments":53},[54],{"text":55},"Resolving PHP dependencies on host",{"segments":57},[58],{"text":59},"Installing dependencies from lock file",{"segments":61},[62],{"text":63},"Verifying lock file contents can be installed on current platform.",{"segments":65},[66],{"text":67},"Problem 1",{"segments":69},[70],{"text":71},"- Root composer.json requires PHP extension ext-memcached * but it is missing from your system.",{"segments":73},[74],{"text":75},"Deploy failed: build: dependencies",{"heading":77,"steps":78,"block":101},"How to fix it",[79],[80,82,83,85,87,89,91,93,95,97,99],{"text":81},"Use a PHP runtime or custom image that includes and enables ",{"text":43,"code":44},{"text":84},", then redeploy. Confirm the extension is available to the CLI PHP used by Composer (",{"text":86,"code":44},"php -m",{"text":88}," or ",{"text":90,"code":44},"php --ini",{"text":92},"). If the project no longer needs memcached, remove the requirement and regenerate ",{"text":94,"code":44},"composer.lock",{"text":96},"; do not use ",{"text":98,"code":44},"--ignore-platform-req",{"text":100}," for a production deployment unless the application is known not to use the extension.",{"header":102,"lines":103},"Fix by hand",[],{"heading":105,"body":106,"block":109},"How PanelAlpha Engine solves it",[107],{"text":108},"Detect required PHP extensions before dependency installation and report the missing extension with the selected runtime. Offer a supported PHP image or extension configuration when available, rather than surfacing the generic Composer lock-file warning.",{"header":110,"lines":111},"",[],{"heading":113,"items":114},"Apps affected",[115,119,123],{"title":116,"badge":117,"tone":26,"href":118},"owncloud\u002Fcore","2 occurrences","\u002Fapps\u002Fowncloud\u002Fcore",{"title":120,"badge":121,"tone":26,"href":122},"passbolt_api","1 occurrence","\u002Fapps\u002Fpassbolt\u002Fpassbolt_api",{"title":124,"badge":121,"tone":26,"href":125},"vrana\u002Fadminer","\u002Fapps\u002Fvrana\u002Fadminer",{"heading":127,"body":128,"footNote":129,"docsLabel":130,"docsHref":131},"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"]