VPS侦探论坛

 找回密码
 注册
查看: 3387|回复: 1

CentOS6下lnmp1.3安装PHP失败

[复制链接]
发表于 2016-9-28 17:00:22 | 显示全部楼层 |阅读模式

请军哥帮忙看看问题出在哪里,因为mysql安装好了,我就把install.sh里面和mysql有关的操作注释了,然后php直接选择安装php7
多谢了!

本帖子中包含更多资源

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

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


/bin/sh /root/lnmp1.3-full/src/php-7.0.7/libtool --silent --preserve-dup-deps --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/opcache/ -I/root/lnmp1.3-full/src/php-7.0.7/ext/opcache/ -DPHP_ATOM_INC -I/root/lnmp1.3-full/src/php-7.0.7/include -I/root/lnmp1.3-full/src/php-7.0.7/main -I/root/lnmp1.3-full/src/php-7.0.7 -I/root/lnmp1.3-full/src/php-7.0.7/ext/date/lib -I/usr/include/libxml2 -I/usr/local/freetype/include/freetype2 -I/usr/local/freetype/include -I/root/lnmp1.3-full/src/php-7.0.7/ext/mbstring/oniguruma -I/root/lnmp1.3-full/src/php-7.0.7/ext/mbstring/libmbfl -I/root/lnmp1.3-full/src/php-7.0.7/ext/mbstring/libmbfl/mbfl -I/usr/local/include -I/root/lnmp1.3-full/src/php-7.0.7/ext/sqlite3/libsqlite -I/root/lnmp1.3-full/src/php-7.0.7/ext/zip/lib -I/root/lnmp1.3-full/src/php-7.0.7/TSRM -I/root/lnmp1.3-full/src/php-7.0.7/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden    -c /root/lnmp1.3-full/src/php-7.0.7/ext/opcache/ZendAccelerator.c -o ext/opcache/ZendAccelerator.lo
git: 'LANG=en_US:zh_CN.UTF-8' is not a git command. See 'git --help'.
make: *** [ext/opcache/ZendAccelerator.lo] Error 1
/bin/sh /root/lnmp1.3-full/src/php-7.0.7/libtool --silent --preserve-dup-deps --mode=compile cc -DZEND_ENABLE_STATIC_TSRMLS_CACHE=1 -Iext/opcache/ -I/root/lnmp1.3-full/src/php-7.0.7/ext/opcache/ -DPHP_ATOM_INC -I/root/lnmp1.3-full/src/php-7.0.7/include -I/root/lnmp1.3-full/src/php-7.0.7/main -I/root/lnmp1.3-full/src/php-7.0.7 -I/root/lnmp1.3-full/src/php-7.0.7/ext/date/lib -I/usr/include/libxml2 -I/usr/local/freetype/include/freetype2 -I/usr/local/freetype/include -I/root/lnmp1.3-full/src/php-7.0.7/ext/mbstring/oniguruma -I/root/lnmp1.3-full/src/php-7.0.7/ext/mbstring/libmbfl -I/root/lnmp1.3-full/src/php-7.0.7/ext/mbstring/libmbfl/mbfl -I/usr/local/include -I/root/lnmp1.3-full/src/php-7.0.7/ext/sqlite3/libsqlite -I/root/lnmp1.3-full/src/php-7.0.7/ext/zip/lib -I/root/lnmp1.3-full/src/php-7.0.7/TSRM -I/root/lnmp1.3-full/src/php-7.0.7/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden    -c /root/lnmp1.3-full/src/php-7.0.7/ext/opcache/ZendAccelerator.c -o ext/opcache/ZendAccelerator.lo
git: 'LANG=en_US:zh_CN.UTF-8' is not a git command. See 'git --help'.
make: *** [ext/opcache/ZendAccelerator.lo] Error 1

不清楚什么原因,没遇到过
Linux下Nginx+MySQL+PHP自动安装工具:https://lnmp.org
您需要登录后才可以回帖 登录 | 注册

本版积分规则

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

GMT+8, 2024-11-16 21:36 , Processed in 0.026280 second(s), 17 queries .

Powered by Discuz! X3.4

© 2001-2023 Discuz! Team.

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