Re: How do I find my php.ini file?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Don wrote:
Hi,

Fedora Core 3, PHP 5.03, MySQL 4.17, Apache 2.0.52

Recent PHP installation.  I created a phpinfo() page.  When I display it in
my browser, it says:

Configuration File (php.ini) Path        /etc

Yet when I log on to my server and look for it in /etc, it is not there.

How can I find it???

You don't have a php.ini file and PHP is using the defaults. If there was a php.ini file, it would be listed in the path, i.e. "/etc/php.ini" instead of just "/etc". Sample php.ini files are included with the source as php.ini-recommended and php.ini-dist (or file names that are close to that). Edit and rename to php.ini and place it in the path above (where PHP is expecting to find the file, /etc).



--

---John Holmes...

Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/

php|architect: The Magazine for PHP Professionals – www.phparch.com

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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux