VPS侦探论坛

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

一键包安装失败

[复制链接]
发表于 2020-1-22 09:28:49 | 显示全部楼层 |阅读模式

系统:centos官方下载的 7.7.1908 Minimal 版本

Nginx: OK
MySQL: OK
Error: PHP install failed.
Sorry, Failed to install LNMP!
Please visit https://bbs.vpser.net/forum-25-1.html feedback errors and logs.
You can download /root/lnmp-install.log from your server,and upload lnmp-install.log to LNMP Forum.



本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?注册

x
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2020-1-22 09:57:00 | 显示全部楼层


/tmp/lnmp1.6/src/php-5.2.17/ext/mysqli/mysqli.c:1175: undefined reference to `client_errors'
ext/xmlrpc/libxmlrpc/encodings.o: In function `convert':
/tmp/lnmp1.6/src/php-5.2.17/ext/xmlrpc/libxmlrpc/encodings.c:73: undefined reference to `libiconv_open'
/tmp/lnmp1.6/src/php-5.2.17/ext/xmlrpc/libxmlrpc/encodings.c:81: undefined reference to `libiconv'
/tmp/lnmp1.6/src/php-5.2.17/ext/xmlrpc/libxmlrpc/encodings.c:101: undefined reference to `libiconv_close'
/tmp/lnmp1.6/src/php-5.2.17/ext/xmlrpc/libxmlrpc/encodings.c:101: undefined reference to `libiconv_close'
collect2: error: ld returned 1 exit status

lnmp都对这个做过优化了,还报错就没办法了,只能用php 5.2对话只能换centos 6或其他版本比较低的linux 发行版
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
 楼主| 发表于 2020-1-22 13:24:39 | 显示全部楼层

上面的问题解决了,现在出现这个错误,要怎么解决?
  1. /tmp/lnmp1.6/src/php-5.2.17/ext/mysqli/mysqli.c:1064: undefined reference to `client_errors'
  2. ext/mysqli/mysqli.o: In function `php_local_infile_read':
  3. /tmp/lnmp1.6/src/php-5.2.17/ext/mysqli/mysqli.c:1113: undefined reference to `client_errors'
  4. ext/mysqli/mysqli.o: In function `php_local_infile_error':
  5. /tmp/lnmp1.6/src/php-5.2.17/ext/mysqli/mysqli.c:1175: undefined reference to `client_errors'
  6. collect2: error: ld returned 1 exit status
复制代码

补充内容 (2020-1-22 13:37):
已经解决了。
美国VPS推荐: 遨游主机LinodeLOCVPS主机云搬瓦工80VPSVultr美国VPS主机中国VPS推荐: 阿里云腾讯云。LNMP付费服务(代装/问题排查)QQ 503228080
发表于 2020-1-22 19:54:48 | 显示全部楼层



othlnmp 发表于 2020-1-22 13:24
上面的问题解决了,现在出现这个错误,要怎么解决?

检查mysql是否已经安装成功,检查mysql版本,检查是否自己修改了编译参数
如果你还是选的mysql 5.7的话php 5.2和mysql 5.7是有兼容性问题的,mysql 5.7发布时php 5.2早都EOL很多年了
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-9-21 22:35 , Processed in 0.027515 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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