CodeIgniter Preflight Checker
In my last post, I discussed do’s and don’ts for making a PHP application portable. This week, I will show you how to create a preflight checker in the CodeIgniter PHP framework to ensure that an environment will support your application.
Making PHP Applications Portable
“Portable” means that your application is able to run on any PHP webserver with minimal fuss.
Ensuring portability is an absolute must for programs that are packaged and distributed for public consumption, like Wordpress or MediaWiki. But, you should aim for portability in all of your applications. The ideal is a one or two-step installation process and only two or three system requirements: 1. Webserver (IIS/Apache/etc), 2. PHP v5.X+, 3. MySQL 4+.
I am an IT Professional in Tallahassee, Florida with a degree in Information Science.