From owner-freebsd-questions@FreeBSD.ORG Thu Jul 26 09:43:17 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3EB1716A419 for ; Thu, 26 Jul 2007 09:43:17 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: from sigma.octantis.com.au (ns2.octantis.com.au [207.44.189.124]) by mx1.freebsd.org (Postfix) with ESMTP id E61D213C469 for ; Thu, 26 Jul 2007 09:43:16 +0000 (UTC) (envelope-from freebsd@meijome.net) Received: (qmail 7093 invoked from network); 26 Jul 2007 04:43:15 -0500 Received: from 203-206-233-219.dyn.iinet.net.au (HELO localhost) (203.206.233.219) by sigma.octantis.com.au with (DHE-RSA-AES256-SHA encrypted) SMTP; 26 Jul 2007 04:43:15 -0500 Date: Thu, 26 Jul 2007 19:43:12 +1000 From: Norberto Meijome To: Mark Busby Message-ID: <20070726194312.668bfd5e@localhost> In-Reply-To: <930940.62489.qm@web81213.mail.mud.yahoo.com> References: <930940.62489.qm@web81213.mail.mud.yahoo.com> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: help help Subject: Re: trouble with php4, apache, egroupware, memory allocation X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jul 2007 09:43:17 -0000 On Wed, 25 Jul 2007 22:10:24 -0700 (PDT) Mark Busby wrote: > I'm running apache-1.3.37_4, php4-4.4.7, and eGroupWare-1.2.106_1. > Apache error file is returning the following error when trying to access the calendar. > PHP Fatal error: Allowed memory size of 16777216 bytes exhausted (tried to allocate 23040 bytes) I've searched but have not found a working fix. > Any Ideas?? > You have 16 MB of memory per PHP process/script allowed in php.ini. Change the memory_limit setting in /usr/local/etc/php.ini . If the file doesn't exist, copy the default distribution one as php.ini. You can choose /usr/local/etc/php.ini-recommended for production sites, or /usr/local/etc/php.ini-dist for a default which is not really that good. You can set your PHP settings with a simple php script with the following content : Good luck, _________________________ {Beto|Norberto|Numard} Meijome "Have the courage to take your own thoughts seriously, for they will shape you." Albert Einstein I speak for myself, not my employer. Contents may be hot. Slippery when wet. Reading disclaimers makes you go blind. Writing them is worse. You have been Warned.