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

Magnus Vaughan
Magnus Vaughan
10,583 Points

Deleting most of the folders?

When the video prompts to delete all files except the folder that was just created, will this not mean you won't be able to access PHP myAdmin if you're working exclusively on a PC?

1 Answer

Sean T. Unwin
Sean T. Unwin
28,690 Points

Zac Gordon is recommending to delete the files within C:\path\to\xampp\htdocs\. Notice that it is everything within the htdocs directory (well, except for the test directory if you follow the video). Anything in this directory, when Apache is running, is accessible with a web browser via localhost in the address bar, i.e. this is where you put your web sites so they can be viewed.

Of note here, as well, is that there is also a xampp directory within htdocs. Do not confuse this with the root xampp install directory.

If you look inside C:\path\to\xampp\, you will see that there are many other directories aside from the htdocs. these are sort of the nuts and bolts of what makes your local web server work. In there you will see directories such as apache, mysql, phpMyAdmin. These directories we do NOT want to delete.

tl;dr: Deleting the files within only C:\path\to\xampp\htdocs\ will not prevent access to phpMyAdmin.