512MiB内存的VPS必须关掉MySQL或者其它服务才能编译成功。
|
sandduduApr 27, 2014
1
我还没有遇到过因为内存编译失败
实在内存太小可以下二进制包 |
|
csx163Apr 27, 2014
2
remi源的php版本挺高的
|
|
mahone3297Apr 27, 2014
3
php暂时不知。。。上次装gem,装了半天装不上,后来才发现是内存不够。。。
|
|
GiinezApr 27, 2014
4
反正我142MB内存加36MB swap是死活编译不了
|
|
saricesApr 28, 2014
5
64M内存编译通过,没试过更低的内存
|
|
saricesApr 28, 2014
6
https://bugs.php.net/bug.php?id=48809 试试加这个参数--disable-fileinfo
|
|
8
@sarices 有加,不关MySQL死活不行
./configure --prefix=/www/wdlinux/apache_php-5.5.11 -with-config-file-path=/www/wdlinux/apache_php-5.5.11/etc -with-mysql=/www/wdlinux/mysql -with-mysqli=/www/wdlinux/mysql/bin/mysql_config -with-iconv=/usr -with-freetype-dir -with-jpeg-dir -with-png-dir -with-zlib -with-libxml-dir=/usr -enable-xml -disable-fileinfo -enable-inline-optimization -with-curl -enable-mbregex -enable-mbstring -with-mcrypt=/usr -with-gd -enable-gd-native-ttf -with-openssl -with-mhash -enable-ftp -enable-sockets -enable-zip -with-apxs2=/www/wdlinux/apache/bin/apxs 我现在还在用着老旧的PHP 5.5.9,虽然新加的特性对我没用,可是就是看着心急如焚。 |