Welcome to the Treehouse Community

The Treehouse Community is a meeting place for developers, designers, and programmers of all backgrounds and skill levels to get support. Collaborate here on code errors or bugs that you need feedback on, or asking for an extra set of eyes on your latest project. Join thousands of Treehouse students and alumni in the community today. (Note: Only Treehouse students can comment or ask questions, but non-students are welcome to browse our conversations.)

Looking to learn something new?

Treehouse offers a seven day free trial for new students. Get access to thousands of hours of content and a supportive community. Start your free trial today.

WordPress

Justin Fraker
Justin Fraker
12,132 Points

Problem installing WordPress locally

When I try to install WordPress locally, I am running into an issue. I am on a PC with xampp installed. I downloaded WordPress and copied all of the files into a folder in my "htdocs" folder. I then opened up phpMyAdmin and created a database and a user (I also just tried using root as the user, with no success).

When I opened up my localhost in the browser and selected my WordPress folder, I was able to go through and link it to my database that I created and then it brought me to the installation (wp-admin/install.php). I filled out everything (site title, username, etc) and when I click on the "Install WordPress" button, it takes a little while before anything happens and then it just loads a blank page with the WordPress logo at the top (this is the url at this point: wp-admin/install.php?step=2). If I leave that blank page and try to log on, it does not work because it never actually successfully installed or created my user. If I go to the main index page, it just says "nothing found".

I'm stuck and I'm not sure what else to do. I've deleted and recreated the database, I've reinstalled the WordPress files, but nothing is working. Please help!

2 Answers

maybe try using WAMP instead of XXAMP, not sure what could be causing the problem. I also thought that for XXAMP files go into the src folder. Just trying to think what could be the issue. Hope you get it fixed soon!

Justin Fraker
Justin Fraker
12,132 Points

Thanks for your help! I still have no idea why I couldn't get it to work with xampp, but I installed wamp and everything works fine now.