Re: Where is php.ini located by default?
| From: | Steven Haryanto | Date: | Sat, 28 Apr 2001 08:27:27 +0000 |
| Subject: | Re: Where is php.ini located by default? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-50740@lists.php.net to get a copy of this message | ||
btw, i found that the configure option:
--with-config-file-path=PATH
is slightly misleading, as "PATH" to usually refers to a file
location. moreoever, php does not report if it fails to read
a php.ini. perhaps the text should be rewritten as:
--with-config-file-path=DIR
Steve
At 4/28/2001 11:37 AM, Martin =?ISO-8859-4?Q?Skj=F6ldebrand?= wrote:
I've built php from a tarball. Now I need to specify a special include path in the php.ini file. But I can't find it. There is a php.in-dist in the build catalog but I can't find a production php.ini anywhere. The docs says that it should be in the install catalogue (which is where?, /usr/local/lib/php doesn't have one) or the cwd. I've tried editing the sample file and putting it in either place but my app still gives me the following error: Failed opening required 'class.DBI' (include_path='.:/usr/local/lib/php') in FILENAME Martin S.