ubuntu16.04宝塔面板7.7任何版本php无法安装怎么办
问题描述操作系统为 Ubuntu 16.04.5 LTS x86_64(Py3.7.8),我的宝塔之前是老版本,安装的php5.4使用正常 ,最近把 宝塔面板 更新到了最新版本 7.7.0。因为web程序需要php7.0支持,宝塔面板安装php7.0,消息盒子都提示安装成功,其实安装失败。后经测试安装所有版本php都失败。
但是,应用列表中并没有显示。查看日志,可以看到如下信息:
configure: error: There is something wrong. Please check config.log for more information.
make: *** No targets specified and no makefile found.Stop.
make: *** No rule to make target 'install'.Stop.
========================================================
/www/server/panel/install/public.sh: line 134: cmake: command not found
Ubuntu 16.04.5 LTS
\l
Bit:64 Mem:32052M Core:32 gcc:5.4.0 cmake:
Linux 4.4.0-131-generic x86_64
ERROR: php-7.0.33 install failed.
安装失败,请截图以上报错信息发帖至论坛www.bt.cn/bbs求助
原因及解决方案
有可能是最新的宝塔面板7.7.0版本与Ubuntu 16.04兼容不好,后来把Ubuntu升级到Ubuntu 18.04.6 LTS以上版本后,然后宝塔面板里再安装PHP7.0功能正常。
页:
[1]