25

Possible Duplicate:
How do i edit php.ini file in xampp server

I ran phpinfo and it said it was in C:\Windows but it's not there. It's not in the php folder. I did a system search and it wasn't found.

Where is it hiding?

Community
  • 1
  • 1
Ryan Peschel
  • 11,087
  • 19
  • 74
  • 136

1 Answers1

47

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

Bert H
  • 1,087
  • 1
  • 15
  • 29
swapnesh
  • 26,318
  • 22
  • 94
  • 126
  • 3
    This answer is lacking hand drawn objects. – Ja͢ck Dec 21 '12 at 05:00
  • @TimPost yes check the screenshot ..he is referring to the above one while php.ini location is in the circled one..let me know if im missing something :) – swapnesh Dec 21 '12 at 05:00
  • 8
    The Loaded Configuration file says None. – Ryan Peschel Dec 21 '12 at 05:02
  • @RyanPeschel Did you try putting one in the config file path and see if it loads? You may just have a somewhat botched installation on your hands. – Tim Post Dec 21 '12 at 05:03
  • @RyanPeschel download a fresh one for your version and put it under that...and let me know if its working or not then – swapnesh Dec 21 '12 at 05:04
  • 1
    For anyone else seeing "none" there: In the default windows download, the ini files have -production or -development AFTER the .ini in the filename, which means they are not picked up. – Hobbamok Dec 13 '21 at 00:57