安装lamp 安装php时报以下错误,请高手指教:
/bin/sh /root/lanmp/php-5.2.17/libtool --silent --preserve-dup-deps --mode=compile /root/lanmp/php-5.2.17/meta_ccld -Iext/date/lib -Iext/date/ -I/root/lanmp/php-5.2.17/ext/date/ -DPHP_ATOM_INC -I/root/lanmp/php-5.2.17/include -I/root/lanmp/php-5.2.17/main -I/root/lanmp/php-5.2.17 -I/root/lanmp/php-5.2.17/ext/date/lib -I/usr/include/libxml2 -I/usr/kerberos/include -I/usr/include/freetype2 -I/root/lanmp/php-5.2.17/ext/mbstring/oniguruma -I/root/lanmp/php-5.2.17/ext/mbstring/libmbfl -I/root/lanmp/php-5.2.17/ext/mbstring/libmbfl/mbfl -I/www/wdlinux/mysql/include/mysql -I/root/lanmp/php-5.2.17/TSRM -I/root/lanmp/php-5.2.17/Zend -D_REENTRANT -I/usr/include -g -O2 -pthread -DZTS -prefer-non-pic -c /root/lanmp/php-5.2.17/ext/date/php_date.c -o ext/date/php_date.lo
/bin/sh /root/lanmp/php-5.2.17/libtool --silent --preserve-dup-deps --mode=compile /root/lanmp/php-5.2.17/meta_ccld -Iext/date/lib -Iext/date/ -I/root/lanmp/php-5.2.17/ext/date/ -DPHP_ATOM_INC -I/root/lanmp/php-5.2.17/include -I/root/lanmp/php-5.2.17/main -I/root/lanmp/php-5.2.17 -I/root/lanmp/php-5.2.17/ext/date/lib -I/usr/include/libxml2 -I/usr/kerberos/include -I/usr/include/freetype2 -I/root/lanmp/php-5.2.17/ext/mbstring/oniguruma -I/root/lanmp/php-5.2.17/ext/mbstring/libmbfl -I/root/lanmp/php-5.2.17/ext/mbstring/libmbfl/mbfl -I/www/wdlinux/mysql/include/mysql -I/root/lanmp/php-5.2.17/TSRM -I/root/lanmp/php-5.2.17/Zend -D_REENTRANT -I/usr/include -g -O2 -pthread -DZTS -prefer-non-pic -c /root/lanmp/php-5.2.17/ext/date/lib/astro.c -o ext/date/lib/astro.lo
/bin/sh /root/lanmp/php-5.2.17/libtool --silent --preserve-dup-deps --mode=compile /root/lanmp/php-5.2.17/meta_ccld -Iext/date/lib -Iext/date/ -I/root/lanmp/php-5.2.17/ext/date/ -DPHP_ATOM_INC -I/root/lanmp/php-5.2.17/include -I/root/lanmp/php-5.2.17/main -I/root/lanmp/php-5.2.17 -I/root/lanmp/php-5.2.17/ext/date/lib -I/usr/include/libxml2 -I/usr/kerberos/include -I/usr/include/freetype2 -I/root/lanmp/php-5.2.17/ext/mbstring/oniguruma -I/root/lanmp/php-5.2.17/ext/mbstring/libmbfl -I/root/lanmp/php-5.2.17/ext/mbstring/libmbfl/mbfl -I/www/wdlinux/mysql/include/mysql -I/root/lanmp/php-5.2.17/TSRM -I/root/lanmp/php-5.2.17/Zend -D_REENTRANT -I/usr/include -g -O2 -pthread -DZTS -prefer-non-pic -c /root/lanmp/php-5.2.17/ext/date/lib/dow.c -o ext/date/lib/dow.lo
/bin/sh /root/lanmp/php-5.2.17/libtool --silent --preserve-dup-deps --mode=compile /root/lanmp/php-5.2.17/meta_ccld -Iext/date/lib -Iext/date/ -I/root/lanmp/php-5.2.17/ext/date/ -DPHP_ATOM_INC -I/root/lanmp/php-5.2.17/include -I/root/lanmp/php-5.2.17/main -I/root/lanmp/php-5.2.17 -I/root/lanmp/php-5.2.17/ext/date/lib -I/usr/include/libxml2 -I/usr/kerberos/include -I/usr/include/freetype2 -I/root/lanmp/php-5.2.17/ext/mbstring/oniguruma -I/root/lanmp/php-5.2.17/ext/mbstring/libmbfl -I/root/lanmp/php-5.2.17/ext/mbstring/libmbfl/mbfl -I/www/wdlinux/mysql/include/mysql -I/root/lanmp/php-5.2.17/TSRM -I/root/lanmp/php-5.2.17/Zend -D_REENTRANT -I/usr/include -g -O2 -pthread -DZTS -prefer-non-pic -c /root/lanmp/php-5.2.17/ext/date/lib/parse_date.c -o ext/date/lib/parse_date.lo
virtual memory exhausted: Cannot allocate memory
make: *** [ext/date/lib/parse_date.lo] Error 1
----Install Error: php make err -----------
最新评论
5 年 20 周之前
5 年 36 周之前
5 年 39 周之前
5 年 50 周之前
6 年 4 周之前
6 年 21 周之前
6 年 25 周之前
6 年 25 周之前
6 年 26 周之前
6 年 28 周之前