Answers for "ubuntu which php.ini is used"

PHP
2

find which php.ini is used

for cmd : php --ini
  
for code : use php_ini_loaded_file() as :=

$inipath = php_ini_loaded_file();
if ($inipath) {
    echo 'Loaded php.ini: ' . $inipath;
} else {
    echo 'A php.ini file is not loaded';
}
Posted by: Guest on July-07-2020
0

where is php.ini file in ubuntu

/etc/php/7.0/apache2
Posted by: Guest on July-19-2021

Code answers related to "ubuntu which php.ini is used"

Browse Popular Code Answers by Language