Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

check which php.ini file enabled from code

<?php
$php_inipath = php_ini_loaded_file();
  
if ($php_inipath) {
    echo 'Loaded php.ini is: ' . $php_inipath;
} else {
    echo 'A php.ini file is not loaded';
}
?>
 
PREVIOUS NEXT
Tagged: #check #file #enabled #code
ADD COMMENT
Topic
Name
8+3 =