Click to See Complete Forum and Search --> : Help: is it possible to use alternative php.ini?


yaleyu
12-26-2002, 11:33 AM
Hi, my site is hosted by some tough service provider, I need to set register_global=ON in php.ini but they can do this for me. I would like to know is there any way to specify my own copy of php.ini?

scoppc
12-26-2002, 01:21 PM
Well, as far as I concern, you cant have a copy of your own php.ini. You have to use theirs.
I am not really sure about register_globals (most probably you cant change it) but you can set some settings by using php command. One example will be error_reporting. If your provider set it to ON and you want it to OFF, just include error_reporting(0);

arelgee
12-26-2002, 01:25 PM
I don't quite understand the question. Did you mean to say the provider won't or can't make the change?
I am setting up my seventh or eighth website, but this is the first time I have used PHP. My experience is that most hosting service run one version and that is that. I tried to get one to run Interbase, they told me I was on my own.
arelgee

yaleyu
12-26-2002, 09:48 PM
sorry, type mistake. it should be "they can't do this for me". :) they refused to change it.