Path: csiph.com!news.swapon.de!fu-berlin.de!uni-berlin.de!individual.net!not-for-mail From: "J.O. Aho" Newsgroups: comp.lang.php Subject: Re: .configure memory_limit building from source Date: Mon, 18 Jan 2016 13:08:30 +0100 Lines: 23 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Trace: individual.net 4nZdmMy96RTI4BGp1hzLVwRS6PfOvUDcbptqX7RiJeQTDCk9P6 Cancel-Lock: sha1:vdcz21PbWnWSm7BGBzMoRWtOp1A= User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 In-Reply-To: Xref: csiph.com comp.lang.php:16305 On 01/18/2016 10:38 AM, crankypuss wrote: > Peter H. Coffin wrote: > >> On Sun, 17 Jan 2016 15:59:44 -0700, crankypuss wrote: >>> It appears that the default memory_limit value is 128M which is way >>> too >>> small for my purposes. How can I configure this to a larger value? >>> I'm currently using: >>> >>> memory_limit=-1 >> . ^^^^^^^^^^^^^^^ >> >> goes in your php.ini, not configure. > > Yes, so how do I do it from configure? I do not want to *HAVE* any > php.ini files for this build, it needs to be fully self-contained. Then you need to patch the source code, just find the right place and change. -- //Aho