shockcosmos 发表于 2016-9-28 17:00:22

CentOS6下lnmp1.3安装PHP失败

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

licess 发表于 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: *** 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: *** Error 1
不清楚什么原因,没遇到过
页: [1]
查看完整版本: CentOS6下lnmp1.3安装PHP失败