Index: [Article Count Order] [Thread]

Date:  Thu, 21 Sep 2006 22:22:01 +0200
From:  "Florian Arzberger" <arzberger (at mark) maxxnet.de>
Subject:  [coba-e:07166] AW:  Re: Default PHP settings in /etc/admserv/php.ini
To:  <coba-e (at mark) bluequartz.org>
Message-Id:  <0a7001c6ddbb$a0e62ce0$6401a8c0@acerbaby>
In-Reply-To:  <200609211948.30429.bq (at mark) solarspeed.net>
X-Mail-Count: 07166

sounds reasonable to me.
--
http://www.maxxnet.de 

-----UrsprĪgliche Nachricht-----
Von: Michael Stauber [mailto:bq (at mark) solarspeed.net] 
Gesendet: Donnerstag, 21. September 2006 19:48
An: coba-e (at mark) bluequartz.org
Betreff: [coba-e:07162] Re: Default PHP settings in /etc/admserv/php.ini

Hi Arthur,

> I have OWM installed successfully without changing anything in php.ini.

There are PKGs around (not necessarily OWM) which are larger than 8MB and
due 
to the 8MB limit in php.ini they cannot be installed through the GUI. Hence 
I'd second the motion to increase the limits for ...

memory_limit 
post_max_size 
upload_max_filesize

... as well.

Or - even better - the GUI page where the PKGs are uploaded could provide a 
temporary increase of these limits with the ...

ini_set('memory_limit', '300M');
ini_set('post_max_size ', '60M');
ini_set('upload_max_filesize', '60M');
ini_set('max_execution_time', '500');
ini_set('max_input_time', '500');

... commands.

I added the "max_execution_time" and "max_input_time" values here as well, 
because if you're uploading a large PKG through the GUI, the default 
execution or input time for PHP scripts may cause an abort before you're 
done. Regardless of what "post_max_size" or "upload_max_filesize" are set
to.

-- 

With best regards,

Michael Stauber