四虎影视在线影院在线观看,小s货再浪些再咬紧点h,国产精品水嫩水嫩,97精产国品一二三产区
標(biāo)題:
[求助]
有沒(méi)有人試過(guò)在512m內(nèi)存的機(jī)器上給wdcp升級(jí)php 5.3?
[打印本頁(yè)]
作者:
alexleft
時(shí)間:
2015-6-11 12:33
標(biāo)題:
有沒(méi)有人試過(guò)在512m內(nèi)存的機(jī)器上給wdcp升級(jí)php 5.3?
我在digitalocean的機(jī)器上無(wú)論安裝wdcp的時(shí)候選php 5.3還是用腳本升級(jí)到php 5.3,都失敗。用腳本升級(jí)的時(shí)候最后的錯(cuò)誤提示是這個(gè):
/bin/sh /root/wdcp/php-5.3.17/libtool --silent --preserve-dup-deps --mode=compile gcc -I/root/wdcp/php-5.3.17/ext/fileinfo/libmagic -Iext/fileinfo/ -I/root/wdcp/php-5.3.17/ext/fileinfo/ -DPHP_ATOM_INC -I/root/wdcp/php-5.3.17/include -I/root/wdcp/php-5.3.17/main -I/root/wdcp/php-5.3.17 -I/root/wdcp/php-5.3.17/ext/date/lib -I/root/wdcp/php-5.3.17/ext/ereg/regex -I/usr/include/libxml2 -I/usr/include/freetype2 -I/root/wdcp/php-5.3.17/ext/mbstring/oniguruma -I/root/wdcp/php-5.3.17/ext/mbstring/libmbfl -I/root/wdcp/php-5.3.17/ext/mbstring/libmbfl/mbfl -I/www/wdlinux/mysql/include/mysql -I/root/wdcp/php-5.3.17/ext/sqlite3/libsqlite -I/root/wdcp/php-5.3.17/TSRM -I/root/wdcp/php-5.3.17/Zend -I/usr/include -g -O2 -fvisibility=hidden -c /root/wdcp/php-5.3.17/ext/fileinfo/libmagic/apprentice.c -o ext/fileinfo/libmagic/apprentice.lo
virtual memory exhausted: Cannot allocate memory
make: *** [ext/fileinfo/libmagic/apprentice.lo] Error 1
make err
復(fù)制代碼
難道是內(nèi)存不足導(dǎo)致編譯不通過(guò)?
看內(nèi)存分配好像有幾百M(fèi)可用的哦。
[root@sfo wdcp]# cat /proc/meminfo
MemTotal: 502220 kB
MemFree: 388308 kB
Buffers: 2232 kB
Cached: 15412 kB
SwapCached: 0 kB
Active: 66704 kB
Inactive: 8876 kB
Active(anon): 57952 kB
Inactive(anon): 496 kB
Active(file): 8752 kB
Inactive(file): 8380 kB
Unevictable: 0 kB
Mlocked: 0 kB
SwapTotal: 0 kB
SwapFree: 0 kB
Dirty: 4 kB
Writeback: 0 kB
AnonPages: 57944 kB
Mapped: 10800 kB
Shmem: 528 kB
Slab: 26028 kB
SReclaimable: 6440 kB
SUnreclaim: 19588 kB
KernelStack: 712 kB
PageTables: 3984 kB
NFS_Unstable: 0 kB
Bounce: 0 kB
WritebackTmp: 0 kB
CommitLimit: 251108 kB
Committed_AS: 289544 kB
VmallocTotal: 34359738367 kB
VmallocUsed: 3512 kB
VmallocChunk: 34359731312 kB
HardwareCorrupted: 0 kB
AnonHugePages: 0 kB
HugePages_Total: 0
HugePages_Free: 0
HugePages_Rsvd: 0
HugePages_Surp: 0
Hugepagesize: 2048 kB
DirectMap4k: 6136 kB
DirectMap2M: 518144 kB
DirectMap1G: 0 kB
作者:
天外飛仙
時(shí)間:
2015-6-11 13:46
升級(jí)到5.3沒(méi)有問(wèn)題
作者:
xuandun
時(shí)間:
2015-6-14 11:34
我256都升到5.6了 內(nèi)存和php版本沒(méi)關(guān)系
作者:
ITYANG
時(shí)間:
2017-1-4 00:01
我的還是報(bào)錯(cuò),重啟了下服務(wù)器,直接啟動(dòng)不了服務(wù)了
歡迎光臨 WDlinux官方論壇 (http://cd-genova.com/bbs/)
Powered by Discuz! 7.2