XAMPP: php.ini path


To check php.ini path, write a file example x.php with content:

<?php
phpinfo(); 
?>

Then run : example: http://localhost/x.php

You will see Configuration File (php.ini) Path and Loaded Configuration File

Configuration File (php.ini) Path

Edit httpd-xampp.conf

edit httpd xampp conf

Edit: PHPINIDir

<IfModule php7_module>
    PHPINIDir "D:\xampp2\php"
</IfModule>

Leave a Reply