Cascading configuration for PHP