给虚拟机安装lnmp,但是结果安装失败
https://t.wss.ink/f/c8hmwst3eyr 复制链接到浏览器打开上面是日志的链接。刚刚装的centos7的2009版系统,求help
这是上传到虚拟机的/root目录下的三个文件 重新建了一个虚拟机进行测试,nginx和mysql可以安装成功 ,但是php安装失败。
新的日志地址:https://t.wss.ink/f/c8imi0a7amb 军哥和忙,看日志后发现一下错误:
checking for libwebp >= 0.2.0... no
configure: error: Package requirements (libwebp >= 0.2.0) were not met:
No package 'libwebp' found
安装一下依赖看看吧。 本帖最后由 jacke 于 2023-9-21 16:05 编辑
onephp 发表于 2023-9-21 15:03
军哥和忙,看日志后发现一下错误:
已经安装了,显示是0.3.0版本。
话说我能CheckMirror=n ./install.sh lnmp连续用两次安装嘛?
刚刚看到后面再按这个命令安装的时候有些文件夹没法写入,权限问题。如果不行的话,是运行同文件夹的uninstall.sh删除嘛?还是直接去删了安装的php文件夹呢?
按照上面说的重复一个命令安装后的报错日志:https://t.wss.ink/f/c8k1g9hzog3
chown: changing ownership of ‘/home/wwwroot/default/.user.ini’: Operation not permitted
mkdir: cannot create directory ‘/usr/local/nginx/conf/vhost’: File exists
include/nginx.sh: line 167: /home/wwwroot/default/.user.ini: Permission denied
chmod: changing permissions of ‘/home/wwwroot/default/.user.ini’: Operation not permitted
问题已经记录,下次更新会修复 checking for libwebp >= 0.2.0... no
configure: error: Package requirements (libwebp >= 0.2.0) were not met:
No package 'libwebp' found
Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.
Alternatively, you may set the environment variables WEBP_CFLAGS
and WEBP_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.
你这是离线安装的?看你挂载的光盘是4.4GB的,这个光盘是不全的,要用everyting的iso,具体可以查看:https://www.vpser.net/manage/centos-iso-local-yum-repository.html 教程 https://www.vpser.net/manage/centos-iso-local-yum-repository.html 严格按教程来操作
5楼贴出的信息不需要理会不影响
页:
[1]