Re: [PHP4BETA] Local php.ini files on Win NT...

From: Date: Thu, 16 Mar 2000 12:43:19 +0000
Subject: Re: [PHP4BETA] Local php.ini files on Win NT...
References: 1  Groups: php.version4 
Request: Send a blank email to php-version4+get-12229@lists.php.net to get a copy of this message
Thanks that may come in handy but not really what I wanted. I'm looking for a way of overriding php settings on a per directory basis. I want the htaccess behaviour but without using htaccess files. Is it possible? Regards, Simon. ----- Original Message ----- From: Frank M. Kromann <fmk@swwwing.com> To: Simon Sadler <simon.sadler@zoom.co.uk> Cc: <php4beta@lists.php.net> Sent: 15 March 2000 9:43 pm Subject: Re: [PHP4BETA] Local php.ini files on Win NT... > Hi, > > You should be able to use en option for this -c <path>. if you call your cgi from a command line like this "php -h" you get a list of all options. > > The -c option tells php to use another php.ini file, not to overwrite things in the general php.ini. You need a seperate ini file with all options needed. > > I havet testet this on php4, but with php3 I dont think it actualy works ! > > - Frank > > >php4 beta 4 p1 CGI > >Apache 1.3.11 > >Windows NT 4 SP4 > > > >All working fine except for local php.ini files. My main php.ini in the > >WinNT directory is working fine but any other php.ini files I put in my web > >directories are seemingly ignored. Can someone confirm if this should work > >or not? I would use htaccess files but as my php is CGI that is out of the > >question; isn't it? I mainly want this working for setting individual > >include_path's, session settings and auto_prepend_file's. > > > >Basically, can I have individual php.ini files in each web directory that > >override the main settings and if so, what do I need to do to get them > >recognised. > > > >Thanks in advance, > > > >Simon. > > > > > > > >-- > >PHP 4.0 Beta Mailing List > ><http://www.php.net/version4/> > >To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net > >For additional commands, e-mail: php4beta-help@lists.php.net > >To contact the list administrators, e-mail: php4beta-admin@lists.php.net > > > > > > > > Swwwing A/S > Frank M. Kromann > VP Development > Phone: +45 70 20 77 20 > Fax: +45 70 20 77 21 > http://www.swwwing.com > > > -- > PHP 4.0 Beta Mailing List <http://www.php.net/version4/> > To unsubscribe, e-mail: php4beta-unsubscribe@lists.php.net > For additional commands, e-mail: php4beta-help@lists.php.net > To contact the list administrators, e-mail: php4beta-admin@lists.php.net > >

« previous php.version4 (#12229) next »