Re: [PHP] php.ini
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
|