Posted by Greg Donald on 06/29/05 20:51
On 6/29/05, gk <gk@proliberty.com> wrote:
> 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().
> php -r 'system( "php -i|grep ini" );'
Configuration File (php.ini) Path => /etc/php.ini
--
Greg Donald
Zend Certified Engineer
MySQL Core Certification
http://destiney.com/
Navigation:
[Reply to this message]
|