Re: safe_mode

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

 



At 3:46 PM -0500 5/22/06, Richard Lynch wrote:
On Sat, May 20, 2006 9:34 am, tedd wrote:
 > 3. Place it in your working directory.

NO!

Place it in the directory where PHP expects it to be.

Not meaning to be argumentative, but I was simply repeating what was stated at:

http://www.washington.edu/computing/web/publishing/php-ini.html

Where it states:

The Web server will look for this file in the following locations and in the following order:
	1.	The directory from which the PHP script was called
	2.	The root of your Web directory (typically public_html)
	3.	The Web server's default php.ini

As such, PHP expects the php.ini file to be (first) working directory; (second) web directory; (third) default php.ini -- in that order.

However, I was told that the above manner for php searching for the preferred php.ini file was for command-line and not for a shared host environment, as is my case. If you read the link, I hope you can appreciate why I said what I did -- for nowhere does the link say that this is only for command line.

http://php.net/phpinfo
will tell you where that is.

I know where it is -- I'm able to read it.

Thanks for your time and effort.

tedd
--
------------------------------------------------------------------------------------
http://sperling.com  http://ancientstones.com  http://earthstones.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