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

PHP Using PHP with MySQL Connecting PHP to MySQL Getting Started with PDO

How do I open htdocs directory? No launch pad. Using PHP with MySQL. Getting Started with PDO. Downloaded files.

don't know how to open htdocs file the same way as shown in the video. Please advise. Do I need to download something else? have Xampp.

2 Answers

Greg Kaleka
Greg Kaleka
39,021 Points

Hi Carla,

Here's a video that explains how to change where XAMPP looks for the root of your project. It shows where the htdocs folder is by default with XAMPP. Might be helpful.

what application do I use to open the php files? Do I need to download a Netbeans IDE?

Thanks, Greg. That is a good video and easy to understand. However, I was actually trying to figure out what program, etc. to open the htdoc files in. Since there isn't a launch pad I have the files saved to the path where htdocs is, but what application do I open them with? No launch pad on the video.

Greg Kaleka
Greg Kaleka
39,021 Points

Hi Carla,

You need a text editor to open the htdoc file. I assume you have one you're using to edit other files (HTML, CSS, PHP files, etc.), but if not, I recommend Sublime Text. It's free unless you want to pay :smile:.