Page 1 of 1

whats the perfect or optimum php.ini ?

Posted: Fri Apr 17, 2009 5:56 pm
by stevegos
Hi

I know the answer to this may vary depending on how the web server is setup. I have to setup CMSMS on a variety of different client web servers and always use the following in my php.ini

memory_limit=32M
upload_max_filesize=10M
max_execution_time=60
post_max_size=12M

Also set in the config.php the following:

$config['php_memory_limit'] = '32M';
$config['max_upload_size'] = 2000000;

But recently I have found that the max_execution_time, post_max_size and upload_max_filesize does not appear to work any more since changing from PHP4 to PHP5 (so I get the yellow ! against these during install)

Any suggestions?

What are peoples suggestions for the best or optimum config?

Thanks, Steve

Re: whats the perfect or optimum php.ini ?

Posted: Fri Apr 17, 2009 6:59 pm
by alby
stevegos wrote: What are peoples suggestions for the best or optimum config?
They are recommended and not required settings
Ok for these values.
Perhaps it is better memory 64M if you use FEU and NMS

Alby