23

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
  • 9,844
  • 19
  • 62
  • 114

1 Answers1

41

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
  • 987
  • 1
  • 14
  • 29
swapnesh
  • 25,390
  • 22
  • 93
  • 124
  • 2
    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
  • 6
    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
  • 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