Re: php.ini

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Nathan Nobbe wrote:
On Fri, May 9, 2008 at 12:02 PM, Michael Satterwhite <michael@xxxxxxxxxxx>
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


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux