"Cpt John W. Holmes" <[EMAIL PROTECTED]> wrote in message
news:[EMAIL PROTECTED]
>
> ----- Original Message -----
> From: "Jay Blanchard" <[EMAIL PROTECTED]>
> > [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...
>

This is a good tip.  Having more than one php.ini file can mess you up when
you don't know about it.  Nothing like beating your head against the wall
wondering why things don;t work as they should :P

- Anthony



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

Reply via email to