Sonic-Framework PHP development framework To set config in apache vhost: SetEnv SONIC_CONFIG dev For cli: export SONIC_CONFIG=dev && php script.php Or for /etc/environment: SONIC_CONFIG="dev"