VPS侦探论坛

标题: 本地使用linmp1.9脚本安装php出错 [打印本页]

作者: acml1860    时间: 2024-10-9 19:51
标题: 本地使用linmp1.9脚本安装php出错


我使用的是1.9完全脚本 lnmp1.9-full

我在VMware17.5中搭建了两个虚拟机,分别是debian12和centos6.9
已更换成aliyun更新源,已yum update和apt update

我在执行 ./install.sh lnmp 的时候,选择不安装mysql,选择安装php7.0.3,选择不安装虚拟内存

烦请大佬们指点,谢谢大佬们了。

https://x.ws28.cn/f/fa7rtugpi7h 复制链接到浏览器打开

作者: acml1860    时间: 2024-10-10 08:05
有大佬可以提供帮助吗?谢谢大家了
作者: acml1860    时间: 2024-10-10 08:36
所有的错误日志在下面

error: package httpd is not installed
error: package httpd-tools is not installed
error: package php-mysql is not installed
error: package php-cli is not installed
error: package php-gd is not installed
error: package php-common is not installed
error: package php is not installed
configure: error: in `/home/RucLinux/lnmp1.9-full/src/libiconv-1.16':
configure: error: C compiler cannot create executables
checking for C++ compiler default output file name... configure: error: C++ compiler cannot create executables
configure: error: installation or configuration problem: C compiler cannot create executables.
configure: error: C compiler cannot create executables
configure: error: C compiler cannot create executables
configure: error: in `/home/RucLinux/lnmp1.9-full/src/freetype-2.10.4/builds/unix':
configure: error: C compiler cannot create executables
checking for gai_strerror... yes
checking for perror... yes
checking for strerror... yes
checking for curl_easy_strerror in -lcurl... yes
checking for curl_multi_strerror in -lcurl... yes
configure: error: mcrypt.h not found. Please reinstall libmcrypt.
checking for strerrordesc_np() ... not found
  nginx error log file: "/usr/local/nginx/logs/error.log"
                -e "s|%%ERROR_LOG_PATH%%|/usr/local/nginx/logs/error.log|" \
checking whether the -Werror option is usable... yes
checking for strerror... yes
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
collect2: error: ld returned 1 exit status
作者: acml1860    时间: 2024-10-10 17:39
不安装lnmp了,折腾了两天都不知道问题出在哪,单独编译php和nginx完成了,文件包同样是lnmp安装包里自带的。




欢迎光临 VPS侦探论坛 (https://bbs.lnmp.com/) Powered by Discuz! X3.4