Refactoring PHP compile configuration