宝塔用户_xlexer 发表于 2025-11-27 01:34:41

【已完成】Ubuntu 24,宝塔11.3,无法安装PHP扩展

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:11.3
系统版本:Ubuntu 24
问题描述:无法安装PHP扩展,任何一个都安装不上,Ubuntu 22也测试了,无法安装
相关截图(日志、错误):mv: cannot stat '/www/server/php/74/src/ext-74': No such file or directorycat: /etc/redhat-release: No such file or directoryConfiguring for:PHP Api Version: 20190902Zend Module Api No: 20190902Zend Extension Api No: 320190902Cannot find autoconf. Please check your autoconf installation and the$PHP_AUTOCONF environment variable. Then, rerun this script.fileinfo.sh: line 100: ./configure: No such file or directory=====================================================================检测到当前空闲内存为116MB 安装fileinfo至少需要1000MB空闲才可以安装请尝试在面板首页中释放内存后再尝试安装如内存仍不足,可执行以下命令后尝试安装,将会跳过内存验证,强制安装命令:touch /www/server/panel/install/u_fileinfo.plmake: *** No targets specified and no makefile found. Stop.error|-Successify --- 命令已执行! ---
redis安装日志:



PHP Api Version: 20190902Zend Module Api No: 20190902Zend Extension Api No: 320190902Cannot find autoconf. Please check your autoconf installation and the$PHP_AUTOCONF environment variable. Then, rerun this script.redis.sh: line 300: ./configure: No such file or directorymake: *** No targets specified and no makefile found. Stop.error|-Successify --- 命令已执行! ---





wolfcode 发表于 2025-11-27 09:31:27

这不是提示的很明显了吗
内存

宝塔用户_xlexer 发表于 2025-11-27 10:05:51

找客服解决了,服务器缺少 autoconf 这个包,手动安装一下

阿珂 发表于 2025-11-27 10:56:38

内存不足,空闲内存在116MB了
尝试增加swap
或者等空闲内存充足安装
页: [1]
查看完整版本: 【已完成】Ubuntu 24,宝塔11.3,无法安装PHP扩展