Re: php.ini
| From: | CPT John W. Holmes | Date: | Wed, 25 Jun 2003 15:35:38 +0000 |
| Subject: | Re: php.ini | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-152792@lists.php.net to get a copy of this message | ||
----- Original Message -----
From: "Jay Blanchard" <jay.blanchard@niicommunications.com>
> [snip]
> > I am running a red hat 9 linux box with Apache 1.3.27 with
> > PHP 4 what is
> >
> > the default location for the php.ini file
> [/snip]
>
> Create a page with just the following...
>
> <?php
> phpinfo();
> ?>
>
> place the page in your web root and access it through a browser. On
> there you will find the path to your php.ini. The path is different for
> differing distros and OS's and if it is CLI, CGI, or not.
Also, as an FYI addition to this, if your PHP installation is not finding a
php.ini and using the defaults, you'll fine a _path_ to where PHP is
expecting to find php.ini listed on the phpinfo() page. If a path to an
actual php.ini file is listed, then that's the one it's using.
---John Holmes...