Codeigniter 2.2x COMPATIBLE with PHP7.1 +.
You only need to remember:
- Models / classes, etc. case sensitive and must start with a capital letter
- Same with file names in application folder
- There are problems with mysql (a very old driver that is not used now), so you need to use the mysqli driver (but it is already implemented in CI2, check if you are already using it).
- If you have a session table, sometimes you will have to crop this table, clear the cache and fill it again.
- Check for software compatibility in the third_party folder if you have problems. CI is not responsible for these problems.
In my case, everything works smoothly with the newest version of bootstrap and jQuery installed. However, I do not use interceptors, advanced features, etc.
NOTE that in most cases you can force the server to use an older version of php using the .htaccess and AddHandler commands:
AddHandler application/x-httpd-php56 .php
This is the latest version of PHP before PHP7.
And last but not least - of course, I do not recommend using this very old version of CI, however, in my opinion, in my cases it makes no sense to migrate from CI2x to CI3, in 2018 it is better to wait for CI4, and then migrate.
source share