乌秋博客
梦想在左,生活在右。   

2018年01月 (1)
18/01/24    编译安装PHP5.6 
编译安装PHP5.6
wget http://cn2.php.net/distributions/php-5.6.33.tar.gz
wget http://www.bzip.org/1.0.6/bzip2-1.0.6.tar.gz

configure: error: off_t undefined; check your library configuration

# vim /etc/ld.so.conf.d/local.conf

添加一行
/usr/local/lib
# ldconfig -v


virtual memory exhausted: Cannot allocate memory
增加虚拟内存:
# dd if=/dev/zero of=/tmp/swap bs=1024 count=2048000
# mkswap /tmp/swap
# swapon /tmp/swap

阅读全文..
posted at 18/01/24 14:59 | 开发手记 - 工作日志 | 浏览(3) | 引用 | 评论



      << prev    1    next >>