Re: programatically determining path to php.ini ?

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

 



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?

http://us3.php.net/manual/en/function.get-cfg-var.php

get_cfg_var('cfg_file_path');

-philip

--
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