Jump to content

I can't find php.ini on xampp/apache?


ask9

Recommended Posts

Hello guys

 

although i successfully run XAMPP on my computer.

 

But the problem is i can't find php.ini on c:\xampp\apache\bin

 

There is php.ini but that is under c:\xampp\apache\php

 

Is this the new settings of XAMPP?

Did they really remove php.ini under \apache\bin ?

 

Any one would like to give shed to this please.

 

Thanks  in advance

 

 

Link to comment
https://forums.phpfreaks.com/topic/194591-i-cant-find-phpini-on-xamppapache/
Share on other sites

Hi,

 

There are two ways to know where is your php.ini

 

1. write the following code and put it in test.php and save it inside htdocs folder in xampp and hit the url of the http://localhost/test.php

 

<?php

 

phpinfo();

 

?>

 

try to find out "Loaded Configuration File" in the webpage u will get that is the path of your php.ini

 

2. go directly to the xampp/php folder you will get the configuration settings file name as php(.ini)

 

that's  it.

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.