Re: safe_mode
| From: | tedd | Date: | Mon, 22 May 2006 23:07:16 +0000 |
| Subject: | Re: safe_mode | ||
| References: | 1 2 3 4 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-236684@lists.php.net to get a copy of this message | ||
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