28

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?

7
  • how you installed php ... wamp ,xamp or other ? Commented Dec 21, 2012 at 4:54
  • in wamp its in wamp\bin\php\php5.3.9 in xamp \xampp\php\php.ini Commented Dec 21, 2012 at 4:54
  • On my PC it is located C:\Program Files\PHP. If it is not there why not use explorer to search for it (and then make a note for future reference) Commented Dec 21, 2012 at 4:56
  • you can check this by <?php phpinfo(); Commented Dec 21, 2012 at 4:56
  • It may be hidden for some reason. Try turning on "Show hidden files and folders" in Windows Explorer. Commented Dec 21, 2012 at 5:00

1 Answer 1

52

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

Sign up to request clarification or add additional context in comments.

4 Comments

The Loaded Configuration file says None.
@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.
@RyanPeschel download a fresh one for your version and put it under that...and let me know if its working or not then
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.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.