increase memory

SitePoint PHP Blog: How to Override PHP Configuration Options

PHPDeveloper.org  Thu, 03/04/2010 - 10:09

Craig Buckler has added a new post to the SitePoint PHP blog today that looks at some of the PHP configuration options and how you can change them from two different places (besides the php.ini file).


 

How to Override PHP Configuration Options - SitePoint » PHP

Planet PHP  Thu, 03/04/2010 - 02:49

configure PHPConfiguring PHP is easy.

You can change almost any aspect of the interpreter within the php.ini configuration file, e.g. modify error handling, increase memory usage, etc.

Unfortunately, problems can occur when you move your application to a live hosting environment or are distributing the code to customers.

ISPs usually lock down the php.ini configuration file — especially on shared hosting. This could cause your application to fail.