Today now in this post i will show you how to get php.ini file path. we can get the location path of php.ini file by using php_ini_loaded_file() of PHP. Sometimes we need to get the php.ini file path. So, if we need to get the path of php configuration file then we can get the following way:
We can find output something as like bellow if we are use ubuntu system:
Read Also : How to convert Object into Array in PHP?
Thanks for read. I hope it help you. For more you can follow us on facebook.