prisonbreak Posted February 27, 2008 Share Posted February 27, 2008 Hi everyone, i am new to this forum and i would appreciate if someone could give a quick solution to this: i am running PHP Version 5.2.3 under IIS 5.1 with Server API -> ISAPI (localhost) under windows Is there a way to override my master php.ini(located in path enviromental variable) file settings so that each php website has it's own custom php.ini file for example webiste1 needs register_global = on where website2 needs register_global = on. How can accomplish this? Thnaks in advance Quote Link to comment https://forums.phpfreaks.com/topic/93312-override-phpini/ Share on other sites More sharing options...
Cep Posted March 11, 2008 Share Posted March 11, 2008 To be honest I don't think so, not in Windows anyway. Linux can override parts of the php.ini using .htaccess but there isn't anything like that on Windows that I have heard. Maybe someone else knows. Quote Link to comment https://forums.phpfreaks.com/topic/93312-override-phpini/#findComment-489535 Share on other sites More sharing options...
peranha Posted March 11, 2008 Share Posted March 11, 2008 http://www.phpfreaks.com/forums/index.php/topic,186668.0.html Here is a post by phpfreak. It might be of use to you Quote Link to comment https://forums.phpfreaks.com/topic/93312-override-phpini/#findComment-489538 Share on other sites More sharing options...
Cep Posted March 11, 2008 Share Posted March 11, 2008 Nice find peranha! Quote Link to comment https://forums.phpfreaks.com/topic/93312-override-phpini/#findComment-489602 Share on other sites More sharing options...
peranha Posted March 11, 2008 Share Posted March 11, 2008 Nice find peranha! Yeah, that new tutorial section is going to come in handy until they get the main site up and running again. Quote Link to comment https://forums.phpfreaks.com/topic/93312-override-phpini/#findComment-489613 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.