-2

I am using Windows 8. I am looking for php.ini file.My phpinfo() output as like below.

enter image description here

My CMD ouput is as like below

enter image description here

I try to find php.ini file in C:\Windows. But could not find it. Could anyone say where can I find it ?

I read all previous questions but Could not find the file. Is there any issue to search the file as Administrator user of Windows ?

abu abu
  • 6,599
  • 19
  • 74
  • 131
  • 2
    Possible duplicate of [Where is php.ini?](http://stackoverflow.com/questions/13984456/where-is-php-ini) – Juliën Feb 18 '17 at 12:42
  • Thanks @Moriarty for your reply. I read all those questions. But I could not find out the `php.ini` file. Could you please help me in this regard ? – abu abu Feb 18 '17 at 12:47
  • Have you actually looked at what's in your screenshot (and the suggested duplicate question) at the `D:\php7\php\php.ini`? – Juliën Feb 18 '17 at 12:53
  • Thanks @Moriarty for reply. Actually that is not working `php.ini`file. If I changed there nothing happens. I am trying to configure `Xdebug`. Previously I found the `php.ini` file and I worked there. But recently I Refreshed the Windows. But now could not find the file.I am trying for a long time to find out the file.Thanks – abu abu Feb 18 '17 at 12:55

1 Answers1

1

I use WampServer, so first go to it's folder, then

C:\wamp64\bin\php\php5.6.16\

In that folder you can find php.ini file

It was for PHP 5.6, but if you want PHP 7.0 version's php ini file, just go one folder back and choose PHP 7.0 folder, here you goo. Hope it can help you )

Sagynbek Kenzhebaev
  • 360
  • 1
  • 5
  • 14