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 trial

WordPress Local WordPress Development Local WordPress Development Installing a Local Web Server on a PC

Josh Miclette
PLUS
Josh Miclette
Courses Plus Student 6,227 Points

XAMPP and MAMP Port Issues

Hey Treehouse Community, I need some help.

I've been trying to solve this for the past few hours, but have made very little progress. Here is what I've done so far:

  1. Downloaded and installed XAMPP There were port issues, so I changed Apache to 81 and MySQL to 3307, which worked and I was able to run them both.

  2. Downloaded and installed MAMP I used port 8080 for Apache, and 3306 for MySQL. It worked. I was able to Open Start Page and setup the database.

  3. Downloaded and installed Wordpress. After finishing the steps, I was able to log into WordPress. But once I was in WordPress, my left nav only displayed Dashboard and Users.

My question is does XAMPP and MAMP's Apache and MySQL ports have to match? I can see my files when I go here: http://localhost:81/ but when I click on the wplocal folder, I get this message: Error establishing a database connection

Any help will be greatly appreciated!