programatically determining path to php.ini ?
| From: | gk | Date: | Wed, 29 Jun 2005 17:31:12 +0000 |
| Subject: | programatically determining path to php.ini ? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-217840@lists.php.net to get a copy of this message | ||
I have not been able to find any way of determining the path to the current php.ini file, programatically, from within a running script.
The only hack I can think of is to parse the ouput of phpinfo().
Any ideas?