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

General Discussion

Can I run PHP in Work Spaces

Hello, does anyone know how to run php on workspaces? I create a page called test.php and click view, but it takes me to the directory listing. Then I click test.php and it just downloads it and not show it...

Why is this and how to stop?

Thanks

4 Answers

Yes you can. When setting up your workspace, make sure to select "PHP5" from the environment drop down tab.

When I selected PHP5 from the environment dropdown the Workspace type it created was listed as static on Chrome under Windows 7

I think that's a bug, send an email to help@teamtreehouse.com to let them know about the issue.

Probably should have tried it myself first, but I'm also having a problem with it. When I try to preview a simple echo statement, it shows me a file tree instead.

Email sent. Waiting for reply. Thanks