Forums / Install & configuration / Best Settings for the PHP INI File
Mark Gilbert
Sunday 25 April 2004 10:07:13 pm
So what do you think are the most important settings in the PHP INI file to have a healthy running eZ Publish Web Site?
How much mem Max TimeoutYour favorite tweeks?
I searched the site and did not find a page that had some recomended settings? What about - Magic Quotes (gpc, runtime) output buffering Safe ModeY2K compliance
Björn [email protected]
Monday 26 April 2004 4:05:40 am
My favorite tweak is installing a php accellerator
Looking for a new job? http://www.xrow.com/xrow-GmbH/Jobs Looking for hosting? http://hostingezpublish.com ----------------------------------------------------------------------------- GMT +01:00 Hannover, Germany Web: http://www.xrow.com/
Derick Rethans
Wednesday 28 April 2004 5:02:48 am
turn off memory_limit (and compile with --disable-memory-limit, magic_quotes_*outputbuffering should not be touched (ezp does that itself)
Compile PHP as static module into apache, and don't use the DSO (with apxs). This should save about 30% speed.
James Packham
Thursday 29 April 2004 3:50:01 am
My prefered method to disable the memory limit by putting -1 as it's value in php.ini, is this likely to effect the performance of ezP, or do you just recommend not using it because ez requires more than 8MB (i.e. the default for PHP) of memory?
Regards,
James
Thursday 29 April 2004 9:54:01 am
James, turning it off in php.ini will not affect the performance, you really need to disable it while compiling PHP (that's the default). To be safe, use --disable-memory-limit.
Derick
Willie Seabrook
Friday 07 May 2004 9:40:12 pm
I must also reiterate the importance of a PHP Accelerator. I use Turuk MMCache. I got a 400% speed increase. Then look at the database indexes. There is a post somewhere by someone called Emil I think (and one from me) and by adding indexes *intelligently* you'll get some real speed increases. (I got *huge* increases in performance there)
Do those two and then worry about little tweaks.
Regards,Willie