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 trialSean Flanagan
33,235 Pointshttp://localhost/phpinfo.php can't be found
Hi.
I can't find the page Alena Holligan mentioned.
4 Answers
Alena Holligan
Treehouse TeacherBy default MAMP will open http://localhost:8888/
Can you get there by going to http://localhost:8888/phpinfo.php
To change ports to use the normal web and mysql points, go into preferences > ports > "Set Web & MySQL ports to 80 & 3306"
Synergi Tech
2,505 PointsHi Sean,
Is your local server running?
Sean Flanagan
33,235 PointsYes it's running. I'm using MAMP. It's giving me grief here too:
Sean Flanagan
33,235 PointsHi Alena. I clicked on phpinfo in the nav bar at the top and got the PHP version 7.2.1, which I assume is the current version. It's working now.
Thank you
Sean
Sean Flanagan
33,235 PointsSean Flanagan
33,235 PointsHi Alena.
I did as you suggested but when I tried to start the server, I got a dialogue box saying that Apache needs open port 80 which is already used by the System.
There are four options available: Use next free port, Setup new port, Use anyway and Cancel. What should I do please?
Alena Holligan
Treehouse TeacherAlena Holligan
Treehouse TeacherYou can "Use Anyway" or you can keep with the 8888. If you keep 8888, you just have to include the port in the URL and that's fine :)