Page 1 of 1

how to set php.ini for each user

Posted: Tue Jul 04, 2006 6:44 am
by teranom
how can we set different php.ini for each website over IIS in win 2003?

Posted: Tue Jul 04, 2006 12:45 pm
by Burrito
if you mean have a different php.ini file for each site, the answer is no. You could include a page that uses some ini_set()ers for each site and accomplish the same thing however.

Posted: Wed Jul 05, 2006 12:44 am
by teranom
but there are many hosts that i see their users can put their php.ini (with some of directives) in their folders, and it'll be executed as directive ini. how is that?

Posted: Wed Jul 05, 2006 9:12 am
by Burrito
that might be a *nix thing, but I'm nearly 100% certain it can not be done with windows.

Posted: Wed Jul 05, 2006 10:18 am
by RobertGonzalez
I think it has to do with virtual dedicated servers. Individual hosted accounts typical use the servers php.ini version. I could be way off here though.

Posted: Wed Jul 05, 2006 10:23 am
by feyd
I believe running under CGI would allow this sort of behaviour, as well as VDS and usermode as Everah stated.

Posted: Mon Jul 10, 2006 12:56 am
by teranom
Yes, under CGI/fastCGI each domain can have its own php.ini. I want to know how could this be done.