application bootstrap with configurable php path fix