Re: Re: Install clarification [THANKS EVERYBODY]

From: Date: Fri, 20 Apr 2001 15:17:33 +0000
Subject: Re: Re: Install clarification [THANKS EVERYBODY]
References: 1 2 3  Groups: php.gtk 
Request: Send a blank email to php-gtk+get-1459@lists.php.net to get a copy of this message
On Fri, Apr 20, 2001 at 05:13:49PM +0200, Markus Fischer wrote: > On Fri, Apr 20, 2001 at 09:56:43AM -0400, mike boucher wrote : > > All I have to do is rename the php.ini files when I > > switch back forth now which works for me. > > PHP by default (at least, the version I compiled), looks > in the execution dir first for a php.ini. So still can have two > ini files for every installation. > > > I'd post the error but seems that the command prompt closes before I can > > read a word of it. LOL Anyway to prevent that? Will the php logging in the > > .ini file take care of this and capture these errors. > > Erm, why don't you just run commmand.com or cmd.exe, then > change to the dir where php-gtk and your source are and run it > there with php -q script.php ? This won't close the window and > you'll still see you errors. BTW, SAPI struct in PHP4 has field for specifying server-dependent default config file during compilation. Using this field one can easily make console version to look in different place than e.g. ISAPI-based one or mod_php4. I did it and it works fine. -- Sincerely yours, Alexander Bokovoy The Midgard Project | ALT Linux Team | Minsk Linux Users Group www.midgard-project.org | www.altlinux.ru | www.minsk-lug.net -- You won't skid if you stay in a rut. -- Frank Hubbard

« previous php.gtk (#1459) next »