Welcome to the Treehouse Community
Want to collaborate on code errors? Have bugs you need feedback on? Looking for an extra set of eyes on your latest project? Get support with fellow developers, designers, and programmers of all backgrounds and skill levels here with the Treehouse Community! While you're at it, check out some resources Treehouse students have shared here.
Looking to learn something new?
Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and join thousands of Treehouse students and alumni in the community today.
Start your free trialChristopher Parke
21,978 Pointsmy path is C:\WINDOWS and there's no php.ini file there
when I start the video and run the script I get the info page. It tells me "Configuration File (php.ini) Path -- C:\WINDOWS" but when I run my CMD and try to run C:\WINDOWS\php.ini it says 'The system cannot find the path specified.'
1 Answer
Brad Chellingworth
11,542 PointsYou can either use windows explorer search and search for the php.ini file.
If you are using something like WAMP, XAMP, or in my case Laragon, you might find the php.ini file is within the respective applications sub folders.
For example, using Laragon, my php.ini file is located at C:\laragon\bin\php\php-7.1.1-Win32-VC14-x86\php.ini
It will be located in the same place as your PHP.exe which is unlikely to be in c:\windows try c:\php or wherever you installed PHP to.
jlampstack
23,932 Pointsjlampstack
23,932 PointsI have the exact same problem. The instructor used Mac in this tutorial. It would be nice to get an answer here for us Windows users :)