打印

lnmp1.4 安装多php出错 env: gcc: Permission denied 解决方法

引用:
Thank you for using PHP.

/bin/sh /root/lnmp1.4/src/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -Iext/date/ -I/root/lnmp1.4/src/php-5.3.29/ext/date/ -DPHP_ATOM_INC -I/root/lnmp1.4/src/php-5.3.29/include -I/root/lnmp1.4/src/php-5.3.29/main -I/root/lnmp1.4/src/php-5.3.29 -I/root/lnmp1.4/src/php-5.3.29/ext/date/lib -I/root/lnmp1.4/src/php-5.3.29/ext/ereg/regex -I/usr/include/libxml2 -I/usr/local/curl/include -I/usr/local/freetype/include -I/usr/local/freetype/include/freetype2 -I/root/lnmp1.4/src/php-5.3.29/ext/mbstring/oniguruma -I/root/lnmp1.4/src/php-5.3.29/ext/mbstring/libmbfl -I/root/lnmp1.4/src/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/include -I/root/lnmp1.4/src/php-5.3.29/ext/sqlite3/libsqlite -I/root/lnmp1.4/src/php-5.3.29/TSRM -I/root/lnmp1.4/src/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /root/lnmp1.4/src/php-5.3.29/ext/date/php_date.c -o ext/date/php_date.lo
env: gcc: Permission denied
make: *** [ext/date/php_date.lo] Error 1
/bin/sh /root/lnmp1.4/src/php-5.3.29/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -Iext/date/ -I/root/lnmp1.4/src/php-5.3.29/ext/date/ -DPHP_ATOM_INC -I/root/lnmp1.4/src/php-5.3.29/include -I/root/lnmp1.4/src/php-5.3.29/main -I/root/lnmp1.4/src/php-5.3.29 -I/root/lnmp1.4/src/php-5.3.29/ext/date/lib -I/root/lnmp1.4/src/php-5.3.29/ext/ereg/regex -I/usr/include/libxml2 -I/usr/local/curl/include -I/usr/local/freetype/include -I/usr/local/freetype/include/freetype2 -I/root/lnmp1.4/src/php-5.3.29/ext/mbstring/oniguruma -I/root/lnmp1.4/src/php-5.3.29/ext/mbstring/libmbfl -I/root/lnmp1.4/src/php-5.3.29/ext/mbstring/libmbfl/mbfl -I/usr/local/include -I/root/lnmp1.4/src/php-5.3.29/ext/sqlite3/libsqlite -I/root/lnmp1.4/src/php-5.3.29/TSRM -I/root/lnmp1.4/src/php-5.3.29/Zend    -I/usr/local/include -g -O2 -fvisibility=hidden  -c /root/lnmp1.4/src/php-5.3.29/ext/date/php_date.c -o ext/date/php_date.lo
env: gcc: Permission denied
make: *** [ext/date/php_date.lo] Error 1
有可能是腾讯云上的安全软件或云锁等之类的安全软件造成的

TOP

回复 3# 的帖子

依然是前面的错误提示估计暂停可能不行,可以暂停后禁止开机启动重启后再试试
或者直接卸载掉

TOP