Create one configuration file for each enviroment and a symbolic link named config.php pointing to the correct file. ex: ln -s config-devel.php config.php