Re: compiling and php.ini

From: Date: Thu, 11 Jul 2002 14:40:34 +0000
Subject: Re: compiling and php.ini
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-107142@lists.php.net to get a copy of this message
If you do: --with-mysql, it can't be disabled in php.ini, however you can change options in php.ini that deal with connecting to a mysql server. If you had copied the php.ini-dist file, your magic_quotes would probably have been set to "on". I'm not sure if the php.ini-recommended gets updated after running the configure script. -- Tyler Longren Captain Jack Communications tyler@captainjack.com www.captainjack.com On Fri, 12 Jul 2002 09:56:52 +0930 (CST) Michael Hall <olc@ninti.com> wrote: > > I've just compiled PHP 4.2.1 with Apache 1.3.24 on RedHat 7.2. > Everything works just fine as usual. I've got a couple of queries, > however. > > I compiled with the --enable-magic-quotes option, then figured this > was a bad move as I've been caught out before with scripts that assume > it is on. So, I copied the php.ini-recommended file to php.ini, and > now phpinfo() tells me that magic_quotes_gpc and magic_quotes_runtime > are off. > > So, does compiling with --enable-magic-quotes have any effects if > magic quotes are turned off in php.ini? Are they "really" off? > > Can all "--enable-whatever" options be turned on/off in php.ini, > regardless of ./configure options? > > Does the "-with-config-file-path" option set the expected path to > php.ini(I always thought it was to Apache)? How come PHP still works > whether the file is there or not? > > TIA > > > -------------------------------- > Michael Hall ninti@ninti.com > -------------------------------- > > > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.general (#107142) next »