I've just got a new dedicated server which has 2GB RAM. I'm configuring the php.ini file, and the "Memory limit" variable is by default set to 8MB. Anyone have an idea of what a suitable value for this would be? The server has Fedora Core 4 running Apache. The purpose is solely for my own sites which will be using PHP and MySQL (so no need to factor in spare power for ASP, Perl etc.). P.S. I wasn't certain if this topic should be in the PHP or Site/Server Administration Forum, if I've chosen incorrectly my apologies in advance .
If your PHP script keep getting time out, then you increase the memory limit or else you do not need to change anything.
8MB is the best value for PHP4, but if you install the new PHP5.2.1 then it will set the memory limit to 16MB by default. Don't make it more than 16MB.