Welcome to WebmasterWorld Guest from 18.104.22.168
For the development environment I have been struggling to find a "tool". People use a local Apache in one way or another, either by installing it or using xampp or something along those lines.
This however doesn't seem to be an option for my situation. Around 30 sites, means around 30 different hosts with 30 different setups... I simply don't have the knowledge or the time to "clone" all these different setups on a local machine. If anyone has a suggestion on how to do this, please so share!
Last but certainly not least is the fact that the development environment needs a database as well. While I'm working on the site in development environment, other people are still adding content to the live site. Is there a way to sync to development environment to the live site but not the otherway around?
// local db connection goes here
$_SERVER['SERVER_NAME'] = 'www.example_com';
// external db connection here
$_SERVER['SERVER_NAME'] = 'www.example.com';