1. Home
  2. Docs
  3. PHP Style Guide
  4. Compatibility


CodeIgniter recommends PHP 5.6 or newer to be used, but it should be compatible with PHP 5.3.7. Your code must either be compatible with this requirement, provide a suitable fallback, or be an optional feature that dies quietly without affecting a user’s application.

Additionally, do not use PHP functions that require non-default libraries to be installed unless your code contains an alternative method when the function is not available.

Was this article helpful to you? Yes No

How can we help?