Looking for more information on how to do PHP the right way? Check out PHP: The Right Way

PHPKitchen:
A Friend in PHP.ini?
Aug 14, 2003 @ 12:30:53

Over on PHPKitchen.com this morning, there's a little reminder article about how you can alter some of the local php.ini settings for your hosting.

Most hosting providers (unless you're running on a dedicated machine) have their own version of a php.ini that they would like for you to use. Thankfully, this article shows you that changes are a simple function call away. There are only some of the settings that you, as a user's script can change, but that's usually enough for most scripts. The ini_set and ini_get functions can be used to see what the current setting is, and to change it to something you and your script can agree on.

There are a whole lot of settings that you can adjust with the ini_set function, but sometimes, it can get frustrating when that one variable you need is just out of reach...

tagged:

Link:


Trending Topics: