PDA

View Full Version : php.ini



ocmnet
03-02-2006, 12:48 PM
I have had many providers, but BlueHost is the only one I've had that requires a php.ini file in every directory.

Anybody know what's different about BlueHost configuration?

giff
03-02-2006, 11:42 PM
There is nothing different between the one in your folders and Bluehosts standard one.
You only need to keep a copy of the php.ini file in the directory where you want to make changes to it. If you do not have one you will use Bluehosts standard php.ini file.

I hope that makes sense.

Dave
03-03-2006, 01:48 AM
I have had many providers, but BlueHost is the only one I've had that requires a php.ini file in every directory.

Anybody know what's different about BlueHost configuration?

BH allows you the flexibility of configuring PHP according to your needs by allowing you to place the php.ini in your directory structure. You can use it to configure various programs that may require different settings than the default setting of BH. If your php progs work fine with the default php.ini settings then you don't need this file and you can delete it. But if you want to change the settings, you will need to place the updated copy in every folder that contains a php file for it to take effect.

felippe
03-03-2006, 04:42 AM
when you think about it, it actually gives you a level of control that a lot of others hosts to not provide. Most hosts that offer a shared environment do not give you control over your php.ini. some require that you send an email, and they make the changes for you.

it can be perceived as an "inconvenience", however, it is very convenient for you when you want to make changes to the site.