How to get php.ini file path?

By Hardik Savani September 5, 2020 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:


We are Recommending you