Re: How do I find my php.ini file?
| From: | S. Kang | Date: | Sat, 18 Dec 2004 04:02:53 +0000 |
| Subject: | Re: How do I find my php.ini file? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-204645@lists.php.net to get a copy of this message | ||
use phpinfo() function
and look for "Configuration File (php.ini) Path". for example of php 5.0x, it is normally /etc/php.5.ini
good luck.
Jay Blanchard wrote:
[snip] 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 /etcYet when I log on to my server and look for it in /etc, it is not there. How can I find it??? [/snip] Use a locate or find command from the command line.