Monthly Archive: July 2016

How to check which ini file is loaded in PHP 0

How to check which ini file is loaded in PHP

This snippet will help you check the ini file that is being used. $inipath = php_ini_loaded_file(); if ($inipath) {     echo ‘Loaded php.ini: ‘ . $inipath; } else {     echo ‘A php.ini file is not loaded’; } Source