开发者社区> 问答> 正文

WDCP升级PHP 5.3失败,跪求大神

centos 6.3 64位,求帮看下什么问题
Thank you for using PHP.

/bin/sh /root/php-5.3.17/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -Iext/date/ -I/root/php-5.3.17/ext/date/ -DPHP_ATOM_INC -I/root/php-5.3.17/include -I/root/php-5.3.17/main -I/root/php-5.3.17 -I/root/php-5.3.17/ext/date/lib -I/root/php-5.3.17/ext/ereg/regex -I/usr/include/libxml2 -I/usr/include/freetype2 -I/root/php-5.3.17/ext/mbstring/oniguruma -I/root/php-5.3.17/ext/mbstring/libmbfl -I/root/php-5.3.17/ext/mbstring/libmbfl/mbfl -I/www/wdlinux/mysql/include/mysql -I/root/php-5.3.17/ext/sqlite3/libsqlite -I/root/php-5.3.17/TSRM -I/root/php-5.3.17/Zend    -I/usr/include -g -O2 -fvisibility=hidden   -c /root/php-5.3.17/ext/date/php_date.c -o ext/date/php_date.lo
/bin/sh /root/php-5.3.17/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -Iext/date/ -I/root/php-5.3.17/ext/date/ -DPHP_ATOM_INC -I/root/php-5.3.17/include -I/root/php-5.3.17/main -I/root/php-5.3.17 -I/root/php-5.3.17/ext/date/lib -I/root/php-5.3.17/ext/ereg/regex -I/usr/include/libxml2 -I/usr/include/freetype2 -I/root/php-5.3.17/ext/mbstring/oniguruma -I/root/php-5.3.17/ext/mbstring/libmbfl -I/root/php-5.3.17/ext/mbstring/libmbfl/mbfl -I/www/wdlinux/mysql/include/mysql -I/root/php-5.3.17/ext/sqlite3/libsqlite -I/root/php-5.3.17/TSRM -I/root/php-5.3.17/Zend    -I/usr/include -g -O2 -fvisibility=hidden   -c /root/php-5.3.17/ext/date/lib/astro.c -o ext/date/lib/astro.lo
/bin/sh /root/php-5.3.17/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -Iext/date/ -I/root/php-5.3.17/ext/date/ -DPHP_ATOM_INC -I/root/php-5.3.17/include -I/root/php-5.3.17/main -I/root/php-5.3.17 -I/root/php-5.3.17/ext/date/lib -I/root/php-5.3.17/ext/ereg/regex -I/usr/include/libxml2 -I/usr/include/freetype2 -I/root/php-5.3.17/ext/mbstring/oniguruma -I/root/php-5.3.17/ext/mbstring/libmbfl -I/root/php-5.3.17/ext/mbstring/libmbfl/mbfl -I/www/wdlinux/mysql/include/mysql -I/root/php-5.3.17/ext/sqlite3/libsqlite -I/root/php-5.3.17/TSRM -I/root/php-5.3.17/Zend    -I/usr/include -g -O2 -fvisibility=hidden   -c /root/php-5.3.17/ext/date/lib/dow.c -o ext/date/lib/dow.lo
/bin/sh /root/php-5.3.17/libtool --silent --preserve-dup-deps --mode=compile gcc -Iext/date/lib -Iext/date/ -I/root/php-5.3.17/ext/date/ -DPHP_ATOM_INC -I/root/php-5.3.17/include -I/root/php-5.3.17/main -I/root/php-5.3.17 -I/root/php-5.3.17/ext/date/lib -I/root/php-5.3.17/ext/ereg/regex -I/usr/include/libxml2 -I/usr/include/freetype2 -I/root/php-5.3.17/ext/mbstring/oniguruma -I/root/php-5.3.17/ext/mbstring/libmbfl -I/root/php-5.3.17/ext/mbstring/libmbfl/mbfl -I/www/wdlinux/mysql/include/mysql -I/root/php-5.3.17/ext/sqlite3/libsqlite -I/root/php-5.3.17/TSRM -I/root/php-5.3.17/Zend    -I/usr/include -g -O2 -fvisibility=hidden   -c /root/php-5.3.17/ext/date/lib/parse_date.c -o ext/date/lib/parse_date.lo
gcc: Internal error: Killed (program cc1)
Please submit a full bug report.
See <http://bugzilla.redhat.com/bugzilla> for instructions.
make: *** [ext/date/lib/parse_date.lo] Error 1
make err
You have new mail in /var/spool/mail/root

展开
收起
young炀 2015-01-09 16:58:29 12622 0
9 条回答
写回答
取消 提交回答
  • ReWDCP升级PHP5.3失败,跪求大神
    7楼正解,但是如果增加swap的话建议是增加到1GB。

    教程在百度搜aliyun增加swap
    2015-08-07 14:37:23
    赞同 展开评论 打赏
  • 我还是不建议用集成环境。特别是wdlinux

    用起来还可以,但是出错后处理麻烦。

    还是自己老老实实自己来。或者用部署比较规范的环境。

    wdlinux  可插拔性太差了
    2015-08-04 20:41:45
    赞同 展开评论 打赏
  • 请升级php5.6

    -------------------------

    这个版本,官方都不维护了。

    2015-08-04 10:40:34
    赞同 展开评论 打赏
  • 回7楼大韵科技的帖子
    我的2G内存,安装也失败
    2015-08-03 17:06:00
    赞同 展开评论 打赏
  • 你内存只有512M吧,内存溢出了
    升级内存到1G,或者临时增加一个512M的swap空间,都能解决问题
    2015-01-10 20:17:51
    赞同 展开评论 打赏
  • ReWDCP升级PHP5.3失败,跪求大神
    升级不成功可以退回去
    wdcp关于php版本5.3降级还原成5.2.17的方法
    wget -c http://dl.wdlinux.cn:5180/soft/php-5.2.17.tar.gz
    tar zxvf php-5.2.17.tar.gz
    cd php-5.2.17
    ./configure --prefix=/www/wdlinux/php-5.2.17 --with-config-file-path=/www/wdlinux/etc --with-mysql=/www/wdlinux/mysql --with-iconv=/usr --with-freetype-dir --with-jpeg-dir --with-png-dir --with-zlib --with-libxml-dir=/usr --enable-xml --disable-rpath --enable-inline-optimization --with-curl --enable-mbregex --enable-mbstring --with-mcrypt=/usr --with-gd --enable-gd-native-ttf --with-openssl --with-mhash --enable-ftp --with-apxs2=/www/wdlinux/apache/bin/apxs
    make
    make install
    rm -f /www/wdlinx/php
    ln -s /www/wdlinux/php-5.2.17 /www/wdlinux/php
    service httpd restart
    2015-01-10 20:07:20
    赞同 展开评论 打赏
  • 回 1楼(小常) 的帖子
    额,我就是按官网的帖子升级的

    -------------------------

    回 2楼(shenliyu) 的帖子
    我就是按这个教程升级的额
    2015-01-10 01:11:38
    赞同 展开评论 打赏
  • http://www.wdlinux.cn/bbs/thread-3737-1-1.html

    官方教程,正常升级!

    -------------------------

    回 4楼(young炀) 的帖子
    我按这个教程,没有出错呢,不行就重装吧!
    2015-01-09 22:01:26
    赞同 展开评论 打赏
  • ReWDCP升级PHP5.3失败,跪求大神
    按照wdcp官网网站上的升级脚本升,不会出错的
    2015-01-09 21:44:38
    赞同 展开评论 打赏
滑动查看更多
问答排行榜
最热
最新

相关电子书

更多
PHP 2017.北京 全球开发者大会——高可用的PHP 立即下载
PHP安全开发:从白帽角度做安全 立即下载
复杂PHP系统性能瓶颈排查及优化 立即下载