How to get php.ini file path?

By Hardik Savani | April 20, 2016 | | 37400 Viewer | Category : PHP Wampserver Installation Ubuntu

You can get location path of php.ini file using php_ini_loaded_file() of PHP. Sometimes we require to get php.ini file path. So, if you need to get path of php confogration file then you can get following way:



You can find output something like bellow if you are use ubuntu system:


***Do you want me hire for your Project Work? Then Contact US.