Welcome Guest, Not a member yet? Register   Sign In
CI 3 & PHP 8.1
#1

Hey,
I couldn't find a definite answer, so Ill try here. (sorry If I missed it somewhere). Will CI3 support PHP8.1 and further ?  
Based on the timeline of PHP support, this is a rather "urgent" question : (28 Nov 2022 the security patches stop)
https://www.php.net/supported-versions.php
I have a ton of project still running CI3 as it was a amazing fun framework to work with, I tried CI4, but it doesn't have the same simplicity to it, (or i'm just getting old). Anyway, I tried and there are some warnings/errors coming up, under PHP 8.1. Are we supposed to submit bug / patches for this ? 
On the website it still states that PHP 5.6 is supported, which to my opinion should just not be used anymore... I don't think I found a way to migrate from CI3 -> CI4. ?

(I did search and found some posts referring to PHP8, but nobody officially said yes/no to my knowledge)
thanks !
Reply
#2

(This post was last modified: 01-31-2022, 07:07 AM by luckmoshy.)

in my opinion, I rather inspire you to move on C_i 4 it is not really hard or whatever I both have been used from c-i-3 and 4 in c-i-4 has a lot of improvement in security and so on not forget JIT in PHP 8+
PHP Code:
PHP 8
Do Codeigniter Before Do You!
yekrinaDigitals

Reply
#3

hey luckmoshyin, 
I tried, but many libraries or helpers I have been using in the past are just not upgrading anymore, also I'm not looking to upgrade many large applications to CI4 "just because". Sure if they officially don't support PHP 8.1 then fine, its time to look for something else.
For new application it might make sense to move to CI4 or other frameworks, but for older established applications there is no upgrade path to CI4. Also I'm not using any of the new PHP 8 features. I'm also not working on facebook, so those microseconds slower PHP 7 might be is fine by me, if it wasn't for the fact that php will drop support in 7 months.
Reply
#4

(This post was last modified: 01-31-2022, 05:39 PM by kenjis.)

CI is an open source project that anyone could join.
See https://github.com/bcit-ci/CodeIgniter
https://github.com/bcit-ci/CodeIgniter/b...it.yml#L15
Reply
#5

(This post was last modified: 08-17-2022, 10:39 PM by PaulRajeshMEzra.)

I've gone between frameworks and languages and I have no issues with existing projects or that CI is being maintained. I find the existence of countless CI projects to be pretty awesome. The problem is that people are taking the maintenance of CI as some sign of it becoming relevant again. Which it is not and both the time required take and the end result obviate any reason to rewrite or bring it to par.

New projects being started with CI will start with both feet in a legacy mentality and well behind the curve in a lot of convenient functionality. I know for a fact there are people starting new projects with CI today and they are reinventing plenty of wheels and writing considerably more code. Newer options obviously assist them in trimming echatspin random down the total lines produced (and thus legacy/maintenance burden).
Reply
#6

I know this is an older post, but for those that find this answer later, version 3.1.13 was released today that brings PHP 8.0 and 8.1 compatibility along with other changes/bug-fixes.
Reply
#7

(01-31-2022, 05:02 AM)svennd Wrote: Hey,
I couldn't find a definite answer, so Ill try here. (sorry If I missed it somewhere). Will CI3 support PHP8.1 and further ?  
Based on the timeline of PHP support, this is a rather "urgent" question : (28 Nov 2022 the security patches stop)
https://www.php.net/supported-versions.php
I have a ton of project still running CI3 as it was a amazing fun framework to work with, I tried CI4, but it doesn't have the same simplicity to it, (or i'm just getting old). Anyway, I tried and there are some warnings/errors coming up, under PHP 8.1. Are we supposed to submit bug / patches for this ? 
On the website it still states that PHP 5.6 is supported, which to my opinion should just not be used anymore... I don't think I found a way to migrate from CI3 -> CI4. ?

(I did search and found some posts referring to PHP8, but nobody officially said yes/no to my knowledge)
thanks !

CI 3.1.xx Does not work really well on PHP 8 and above. Might be better if you upgrade your PHP from 5.6 to 7.3 or 7.4. I already tested it on PHP 7.0 up to 7.4 in some projects and they are working fine.
Reply
#8

(This post was last modified: 07-31-2022, 04:17 PM by Luís Andrade.)

(03-03-2022, 07:42 AM)kilishan Wrote: I know this is an older post, but for those that find this answer later, version 3.1.13 was released today that brings PHP 8.0 and 8.1 compatibility along with other changes/bug-fixes.
These updates are very important because many of us have tons of projects in CI3. Some really giants and some smaller.
PHP versions are like a wave of Tsunami that we must be prepared to face updates.
Just to share with fellow programmers, I still have a legacy rock in the way. I have a really big project where XAJAX is used profusely...
I'm looking for a way to do this reprogramming in a way that doesn't rely on libraries that might disappear and become unsupported. XAJAX in PHP 8.0 does not run.
It was just a rant, because this is not a topic for this subject.

Thank you so much, Kilishan!
Reply




Theme © iAndrew 2016 - Forum software by © MyBB