Re: php.ini

From: Date: Fri, 09 May 2008 19:28:48 +0000
Subject: Re: php.ini
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-274099@lists.php.net to get a copy of this message
Nathan Nobbe wrote:
On Fri, May 9, 2008 at 12:02 PM, Michael Satterwhite <michael@weblore.com> wrote:
I do know that on bluehost, they actually encourage people to use their own php.ini file in their web directory ... and users certainly don't have the authority to restart apache. That said - just for grins, I *DID* restart apache2. It made no difference.
    Some web hosts allow you have have your own local php.ini. You just create an empty php.ini file in your main web directory. After you do that, the loaded configuration file shown in the output from phpinfo() will show the path to the local php.ini file. Then, just put the specific directive in there, such as:
magic_quotes_gpc = Off This works on some hosts. Janet -- ---------------- janet.valade.com

« previous php.general (#274099) next »