安装lamp 安装php时报以下错误

安装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 -----------

欢迎转载,但请保留此信息
[我的Linux,让Linux更易用] CentOS精简版,集成lamp,lnmp版,wdcp,wdcdn,wddns,一键安装包,集群负载均衡LVS,智能DNS/CDN,性能优化
本文连接:http://www.wdlinux.cn/old/node/949