Home  |  Linux  | Mysql  | PHP  | XML
From:Janet Valade Date:Fri May  9 13:28:48 2008
Subject:Re: 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

Navigate in group php.general at sever news.php.net
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by PHP Developer
Powered By PHP Consultants