From owner-freebsd-ports@FreeBSD.ORG Sat Apr 8 04:23:23 2006 Return-Path: X-Original-To: ports@freebsd.org Delivered-To: freebsd-ports@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 06B1416A401; Sat, 8 Apr 2006 04:23:23 +0000 (UTC) (envelope-from beckman@purplecow.com) Received: from thermonuclear.org (thermonuclear.org [209.31.146.80]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3652B43D46; Sat, 8 Apr 2006 04:23:21 +0000 (GMT) (envelope-from beckman@purplecow.com) Received: from thermonuclear.org (beckman@localhost [127.0.0.1]) by thermonuclear.org (8.13.6/8.13.4) with ESMTP id k384NIq1078492; Sat, 8 Apr 2006 00:23:20 -0400 (EDT) (envelope-from beckman@purplecow.com) Received: from localhost (beckman@localhost) by thermonuclear.org (8.13.6/8.13.4/Submit) with ESMTP id k384NHr7078489; Sat, 8 Apr 2006 00:23:18 -0400 (EDT) (envelope-from beckman@purplecow.com) X-Authentication-Warning: thermonuclear.org: beckman owned process doing -bs Date: Sat, 8 Apr 2006 00:23:17 -0400 (EDT) From: Peter Beckman X-X-Sender: beckman@thermonuclear.org To: ports@freebsd.org In-Reply-To: <20060407230303.V39771@thermonuclear.org> Message-ID: <20060408001906.A39771@thermonuclear.org> References: <20060407230303.V39771@thermonuclear.org> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Cc: ale@freebsd.org Subject: Re: devel/pear broken on AMD64 (maybe others) [SOLVED] X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 Apr 2006 04:23:23 -0000 On Fri, 7 Apr 2006, Peter Beckman wrote: > I can't seem to install pear, either from ports nor using: > > fetch -qo http://go-pear.org/ | php > > Can anyone help? hahaha, I suck. Well, pear sucks really. memory_limit = 8M ; Maximum amount of memory a script may consume (8MB) By default, PHP gets a memory_limit of 8M. During pear install: PHP Fatal error: Allowed memory size of 8388608 bytes exhausted (tried to allocate 81272 bytes) in /tmp/gopeLSQ84i/PEAR/Installer.php on line 385 C'mon. The pear installer breaks the default memory limit set by PHP? That can't be good. I'll work on a patch that checks the memory_limit setting in PHP and gives the user a warning if it is less than say 16M. Beckman --------------------------------------------------------------------------- Peter Beckman Internet Guy beckman@purplecow.com http://www.purplecow.com/ ---------------------------------------------------------------------------