RE: [PHP] php.ini
| From: | Jay Blanchard | Date: | Wed, 25 Jun 2003 14:53:02 +0000 |
| Subject: | RE: [PHP] php.ini | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-152787@lists.php.net to get a copy of this message | ||
[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.
If you are in a *nix box you can type 'locate php.ini' from the shell
command line to locate them.
HTH!
Jay