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


TREEHOUSE I have a problem!

I am stuck at the moment with so many php installation issues. I am at the 5th stage of Begining PHP track(Basic Error Handling) and now suddenly it started to talk about development and production servers, terminal, php.ini file (no previous mentionings about such stuff) and etc which I have no idea and no one is explaining what those are. I tried to follow the instructions in the video on treehouse workspace but It's not responding to the actions mentioned in the video. İ am very confused at the moment and demotivated :D NOW the QUESTIONS ARE :


1 Answer

Hey dud

dev server

So first the development and production Servers are, in first line, not physical servers you'll need to set up. Its done software technically. Think its like a switch case statement where you set "development" show me "error handling all and/or load some librarys for output data to develop". and on productive "give me a lower error handling". Also there a some direcitves to set up in an frameworks index.php or .htaccess file. This is a link from an php framework i found and it describes a bit how it is to understand. Check it out: https://www.codeigniter.com/user_guide/general/environments.html

Look at this:

The php.ini

This is the configuration file of PHP. http://php.net/manual/en/configuration.file.php Check what it's inside with:



The terminal.app is an Application on mac. Just Google it. You'll find it.

As a terminal emulator, the application provides text-based access to the operating system, in contrast to the mostly graphical nature of the user experience of macOS, by providing a command line interface to the operating system when used in conjunction with a Unix shell, such as bash (the default shell in Mac OS X Jaguar and later).