how to find php.ini
php -i | grep "Loaded Configuration File"
how to find php.ini
php -i | grep "Loaded Configuration File"
where can I find php --ini
php --ini
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';
}
find php ini
1. Create test.php file with the following content
2. <?php phpinfo(); ?>
3. Put it in the root of the site (or in a public folder)
4. Open the file on your browser "domaine.com/test.php"
4. Look for "Loaded Configuration File"
Copyright © 2021 Codeinu
Forgot your account's password or having trouble logging into your Account? Don't worry, we'll help you to get back your account. Enter your email address and we'll send you a recovery link to reset your password. If you are experiencing problems resetting your password contact us