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 PHP Arrays and Control Structures PHP Conditionals Comparison Operators

Piyush Patel
Piyush Patel
17,253 Points

Do you have problems with saving files?

I'm facing few troubles while saving files and editing and executing on the workspace for PHP course. When I am writing in console, suddenly the cursor moves to file and I type in file and things like that. Even it doesn't allow me to go to console without saving the file.

Does anyone else face the same problem?

I've had some issues here and there with Workspaces (been a subscriber for 8 months now), as most people have. Overall I think Treehouse did a good job with Workspaces for what it is; it's just not as snappy as Cloud 9's browser IDE.

You've probably finished this course long ago, but to anyone else, I'd recommend just following along in your own text editor (Atom, VSCode, Sublime). To preview your work, PHP has a built-in dev (meaning it's meant for development, not production) server. Just type php -S localhost:8000 in Terminal and go to http://localhost:8000 in your browser. There's more info on the PHP docs: http://php.net/manual/en/features.commandline.webserver.php