全球灰产交流论坛

 找回密码
 立即注册

QQ登录

只需一步,快速开始

全球云38元起免备案V2EX搬瓦工灰产
SEO查询超级PING网站测速
Virmach特价鸡乌云漏洞吾爱破解
查看: 114|回复: 6

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

[复制链接]

36

主题

421

回帖

1180

积分

金牌会员

Rank: 6Rank: 6

积分
1180
发表于 2024-10-9 19:52:49 | 显示全部楼层 |阅读模式
20230417

我使用的是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 复制链接到浏览器打开
hostloc邀请码购买+tg:@Sendtoae86bot
回复

使用道具 举报

9

主题

837

回帖

2155

积分

金牌会员

Rank: 6Rank: 6

积分
2155
发表于 2024-10-9 20:08:56 | 显示全部楼层
编译出了问题

configure: error: mcrypt.h not found. Please reinstall libmcrypt.
hostloc邀请码购买+tg:@Sendtoae86bot
回复 支持 反对

使用道具 举报

36

主题

421

回帖

1180

积分

金牌会员

Rank: 6Rank: 6

积分
1180
 楼主| 发表于 2024-10-9 20:14:01 | 显示全部楼层
Microcharon 发表于 2024-10-9 20:08
编译出了问题

configure: error: mcrypt.h not found. Please reinstall libmcrypt.

谢谢,我在网上找了编译这个模块的方法,但是出错了

make: *** 没有指明目标并且找不到 makefile。 停止。

我本地是有make的

https://**blogs.com/achengmu/p/9312019.html
hostloc邀请码购买+tg:@Sendtoae86bot
回复 支持 反对

使用道具 举报

36

主题

421

回帖

1180

积分

金牌会员

Rank: 6Rank: 6

积分
1180
 楼主| 发表于 2024-10-9 20:08:00 | 显示全部楼层
所有的错误日志在下面

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
hostloc邀请码购买+tg:@Sendtoae86bot
回复 支持 反对

使用道具 举报

3

主题

550

回帖

1697

积分

金牌会员

Rank: 6Rank: 6

积分
1697
发表于 2024-10-10 08:18:42 | 显示全部楼层
lnmp不是出过问题么?还用
hostloc邀请码购买+tg:@Sendtoae86bot
回复 支持 反对

使用道具 举报

36

主题

421

回帖

1180

积分

金牌会员

Rank: 6Rank: 6

积分
1180
 楼主| 发表于 2024-10-10 08:24:10 | 显示全部楼层
花落无声 发表于 2024-10-10 08:24
lnmp不是出过问题么?还用

我有他们家之前的完整包,我是用完整包本地安装的
hostloc邀请码购买+tg:@Sendtoae86bot
回复 支持 反对

使用道具 举报

36

主题

421

回帖

1180

积分

金牌会员

Rank: 6Rank: 6

积分
1180
 楼主| 发表于 2024-10-10 08:32:21 | 显示全部楼层
唐王李世民 发表于 2024-10-10 08:18
所有的错误日志在下面

error: package httpd is not installed

我很奇怪,编译脚本的错误日志里提示的是 configure不能生成可执行文件,但是我本地是有最新版的gcc,并且其他模块的编译没有提示错误。
hostloc邀请码购买+tg:@Sendtoae86bot
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

展开

QQ|Archiver|手机版|小黑屋|全球灰产交流论坛

GMT+8, 2024-10-27 06:34 , Processed in 0.044576 second(s), 27 queries , Gzip On.

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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