Setting up a development server
<p>When developing PHP applications, it's best to have a server you develop/test on, and then a live server you put everything once it's ready.</p>

<p>OK, but how?</p>

<p>If you are hosting through a hosting company how can you setup your own development server to test on that mimics all the LAMP settings as your live server? Because if they differ then testing on one that isn't identical to the live one, defeats the purpose right?</p>

<p>Is it better use another server through the same hosting company and ask them make both the development and live ones have the exact same settings?</p>

<p>Also what is the best work-flow to use to check files out from "live server" work on them in the "development server", then check them back into the live server?</p>

<p>Thanks!!</p>
