John Nichel wrote:
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???


find / -name php.ini
locate php.ini

If you installed from source, you will have to copy one of the ini files from the untared source to the proper location.

A little-known tip is that when phpinfo() gives you just a path to the ini file, then it isn't actually there. It looked for it there, but it didn't find it. If you then create /etc/php.ini in your case and restart your server and look at phpinfo() again you will see it says /etc/php.ini.


-Rasmus

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



Reply via email to