编译安装php时遇到virtual memory exhausted: Cannot allocate memory

2016-11-3 liyangweb.com 李杨 PHP

由于我的虚拟主机内存比较小,是512M的,今天在编译PHP7的时候遇到了一个问题,在make的时候提示 virtual memory exhausted: Cannot allocate memory 。意思很明白,就是说内存不够用了。

首先想到的方法就是停用一切可以停掉的进程,留出空间来编译PHP,但是我停了一些进程还是不够用,所以就放弃了此方法,但是看网友们的博客,有朋友通过此方法安装成功了。

后来在通过搜索,在php.net上找到了解决方法,在configure的时候加上如下配置 

--disable-fileinfo
就可以make通过了。
原文地址:https://bugs.php.net/bug.php?id=48809


标签: PHP

评论:

yourctt
约 5 小时前
<a href="http://www.betascgx.com/nike-huarache-utility-dam%C3%A4nner-schwarz-shoesc">nike huarache utility dam盲nner schwarz</a> <a href="http://www.hobbyfreaks.com/oakley-sunglasses-encounter-sunglassesr">oakley sunglasses encounter</a> <a href="http://www.ruoiled.com/ralph-lauren-polo-shirts-uk-cheap-polob">ralph lauren polo shirts uk cheap</a> <a href="http://www.zanascuisine.com/ray-ban-aviator-small-silver-mirror-sunglassesr">ray ban aviator small silver mirror</a> <a href="http://www.puyichinese.com/hermes-kelly-double-tour-bracelet-size-jewelryr">hermes kelly double tour bracelet size</a> <a href="http://www.philipelara.com/nike-lebron-14-gold-pink-shoesv">nike lebron 14 gold pink</a>
yourctt http://www.yourctt.com/
ns540sal
2019-01-10 19:15
<a href="http://www.n241j7ek.com/flyknit-lunar-1-armada-multi-match-kurpesc">flyknit lunar 1 armada multi match</a> <a href="http://www.96hsmdlv.com/mennns-nike-free-5.0-r%C3%B8d-gull-butya">mennns nike free 5.0 r酶d gull</a> <a href="http://www.q917gblp.com/nike-max-zero-b%C3%B8rn-gr%C3%B8n-gr%C3%A5-schuheg">nike max zero b酶rn gr酶n gr氓</a> <a href="http://www.ca73cmji.com/nike-free-run-2-armada-and-blanco-jordans-butyf">nike free run 2 armada and blanco jordans</a> <a href="http://www.ahx2859h.com/hombres-asics-gel-quantum-360-p%C3%BArpura-plata-butya">hombres asics gel quantum 360 p煤rpura plata</a> <a href="http://www.1mjfeeng.com/kvinners-nike-air-max-1-bl%C3%A5-gul-obuvc">kvinners nike air max 1 bl氓 gul</a>
ns540sal http://www.ns540sal.com/
leviandval
2019-01-05 11:04
<a href="http://www.cierreplus.com/air-jordan-retro-4.5-minzgr%C3%BCn-himmelblau-schuheg">air jordan retro 4.5 minzgr眉n himmelblau</a> <a href="http://www.gotmarys.com/kvinners-ralph-lauren-mesh-polo-svart-lilla-poloz">kvinners ralph lauren mesh polo svart lilla</a> <a href="http://www.nauticabg.com/nike-lunar-l%C3%B8ping-trainers-chaussuresa">nike lunar l酶ping trainers</a> <a href="http://www.orkansport.com/nike-air-max-shake-evolve-bl%C3%A5-r%C3%B8d-schuhee">nike air max shake evolve bl氓 r酶d</a> <a href="http://www.parkcarlton.com/air-jordan-blu-marrone-scarpea">air jordan blu marrone</a> <a href="http://www.pilaminates.com/nike-air-yeezy-2-rot-october-brasil-kurpesf">nike air yeezy 2 rot october brasil</a>
leviandval http://www.leviandval.com/
dixiepundit
2019-01-04 14:38
<a href="http://www.myfraimz.com/asics-gel-noosa-tri-9-oransje-r%C3%B8d-obuvc">asics gel noosa tri 9 oransje r酶d</a> <a href="http://www.winnercells.com/adidas-red-wings-35-jimmy-howard-purple-authentic-fights-cancer-stitched-nhl-jersey-nflw">adidas red wings 35 jimmy howard purple authentic fights cancer stitched nhl jersey</a> <a href="http://www.atppest.com/kirk-cousins-8-washington-redskins-jersey-nflv">kirk cousins 8 washington redskins jersey</a> <a href="http://www.windriftbar.com/nike-air-force-1-ultra-force-blanche-skog">nike air force 1 ultra force blanche</a> <a href="http://www.kidtokidboise.com/air-jordan-b-mo-blue-grey-skob">air jordan b mo blue grey</a> <a href="http://www.mesmertronic.com/dolphins-hats-new-era-university-hatb">dolphins hats new era university</a>
dixiepundit http://www.dixiepundit.com/
lapthelakes
2018-12-31 13:05
<a href="http://www.agichipay.com/herre-nike-air-max-2016-guld-lyser%C3%B8d-schuheb">herre nike air max 2016 guld lyser酶d</a> <a href="http://www.millsbulb.com/team-canada-11-jonathan-malo-white-2017-world-mlb-classic-authentic-stitched-mlb-jersey-nflu">team canada 11 jonathan malo white 2017 world mlb classic authentic stitched mlb jersey</a> <a href="http://www.hamshrd.com/nike-zoom-hyperrev-2016-grey-skou">nike zoom hyperrev 2016 grey</a> <a href="http://www.lroyroofing.com/adidas-neo-pink-yellow-runninge">adidas neo pink yellow</a> <a href="http://www.golfbodyshop.com/525824-nike-free-rn-distance-2-running-shoe-zapatosu">525824 nike free rn distance 2 running shoe</a> <a href="http://www.yufnsyb.com/nike-kobe-elite-11-r%C3%B8d-horse-chaussuresa">nike kobe elite 11 r酶d horse</a>
lapthelakes http://www.lapthelakes.com/
carbonstalk
2018-12-28 19:32
<a href="http://www.milliemummery.com/nike-free-hypervenom-mid-nero-hot-lava-obuvb">nike free hypervenom mid nero hot lava</a> <a href="http://www.yuriboguinia.com/nike-hyperdunk-hommes-basketbtout-chaussures-for-vente-legit-butya">nike hyperdunk hommes basketbtout chaussures for vente legit</a> <a href="http://www.ceasedislike.com/mens-nike-new-york-jets-71-ben-ijalana-limited-olivecamo-2017-salute-to-service-nfl-jersey-nflu">mens nike new york jets 71 ben ijalana limited olivecamo 2017 salute to service nfl jersey</a> <a href="http://www.ihearyall.com/nike-air-max-plus-l%C3%A6der-kurpesb">nike air max plus l忙der</a> <a href="http://www.manamexports.com/air-jordan-11-retro-high-hvit-svart-varsity-r%C3%B8d-schuhec">air jordan 11 retro high hvit svart varsity r酶d</a> <a href="http://www.plakglas.com/nike-darwin-blu-ash-schuheg">nike darwin blu ash</a>
[url=http://www.carbonstalk.com/]carbonstalk[/url]
wimpley
2018-12-27 22:13
<a href="http://www.blockboymusic.com/billig-nike-free-3.0-v2-herre-gr%C3%A5-sneakere">billig nike free 3.0 v2 herre gr氓</a> <a href="http://www.aquaboutic.com/jeremiah-sirles-78-jersey-xl-nfld">jeremiah sirles 78 jersey xl</a> <a href="http://www.plusjulesmumm.com/air-max-reflective-adidas-shoesc">air max reflective adidas</a> <a href="http://www.tomscave.com/air-jordan-future-red-michael-jordan-skof">air jordan future red michael jordan</a> <a href="http://www.casagranderox.com/air-jordan-retro-14-wolf-grey-sport-blue-van-sportse">air jordan retro 14 wolf grey sport blue van</a> <a href="http://www.clumsford.com/nike-free-3.0-v4-black-cheetah-runningd">nike free 3.0 v4 black cheetah</a>
wimpley http://www.wimpley.com/

发表评论:

Powered by emlog 冀ICP备13011830号-1