VPS侦探论坛

 找回密码
 注册
查看: 69|回复: 3

本地使用linmp1.9脚本安装php出错

[复制链接]
发表于 2024-10-9 19:51:57 | 显示全部楼层 |阅读模式



我使用的是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 复制链接到浏览器打开
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2024-10-10 08:05:05 | 显示全部楼层


有大佬可以提供帮助吗?谢谢大家了
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2024-10-10 08:36:25 | 显示全部楼层

所有的错误日志在下面

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
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
 楼主| 发表于 2024-10-10 17:39:07 | 显示全部楼层



不安装lnmp了,折腾了两天都不知道问题出在哪,单独编译php和nginx完成了,文件包同样是lnmp安装包里自带的。
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|Archiver|VPS侦探 ( 鲁ICP备16040043号-1 )

GMT+8, 2024-10-26 03:29 , Processed in 0.026268 second(s), 16 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

快速回复 返回顶部 返回列表