How to Locate the PHP.Ini File (Xampp)

php.ini file is available in xamp folder

With XAMPP, the php.ini file is called php

Click on the file called php then you will see another folder called php, click on that, this is the php.ini file

Where is php.ini?

Run this code (and I am assuming your php is running, you are not able to just locate the php.ini file)

<?php

phpinfo();

?>

And check the location of the config file:

Location

php.ini file nowhere to be found?

Where PHP is installed C:\php there is a php.ini-development and php.ini-production. You can copy or rename one of these to php.ini. These are templates and have all of the default settings that are needed. The main difference is that the development one will have error reporting turned on and the production one will not:

It should be loaded from either the PHP directory C:\php or C:\windows. I use the PHP directory as PHP I believe, will always look in the directory from which PHP is run:

copy c:\php\php.ini-development c:\php\php.ini

Or:

copy c:\php\php.ini-development c:\windows\php.ini

My system:

Configuration File (php.ini) Path       C:\Windows
Loaded Configuration File C:\app\php\php.ini

where is php.ini in joomla? (xampp installation)

The php.ini file belongs to your server configuration and is not part of Joomla. It seems you are using XAMPP - the file should be in your C:\xampp\php directory if you have XAMPP >= 1.7.0 and in c:\xampp\apache\bin for older versions.



Related Topics



Leave a reply



Submit