Every morning i browse through the messages on php.internals. To keep me up to date with what happens under the PHP hood. It’s great stuff to learn about new features. Today one of the posts caught my attention. Titled ‘New INI’s for PHP’. The post provides a URL to the PHP wiki page.
It’s still a proposal. But as i read it. The php.ini file will be separated into two files. One for development and one for production. The first thing that crossed my mind was. Cool! I can test my production code without uploading. I just change the ini. But does this really make sense?
When i build a web application. I keep all the settings and configurations inside of the application. The framework i use makes it easy to switch between development and production. The way i look at it this should not be done on PHP level. But rather on application level.