-
Notifications
You must be signed in to change notification settings - Fork 7.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Support for PHP 8.3 #6278
Comments
Codeigniter 3.1.13 don't support PHP >8.2 (yet), you can however update on your own using these changes If you instead would like an updated repo with PHP 8.2 support see; |
I am extending a copy of CodeIgniter 3 that works with PHP 8.3 from here: https://github.com/sylynder/webby, https://github.com/sylynder/engine. I am also borrowing some concepts from CodeIgniter 4 |
@jafjaf, I would like to ask: with the current CodeIgniter v3.1.13, what is the latest stable PHP version that works out-of-the-box? |
currently i have 2 projects using the Codeigniter version 3.1.13 running with php 8.2. |
A fresh install of Codeigniter 3 supports PHP version up to and including 8.1. I'm also running multiple projects using PHP 8.3 and Codeigniter 3 (with PHP >8.2) changes implemented. |
I didn't expect to get a response this fast. Wow, the community is still great 🥳 @mariolucasdev Do you run CodeIgniter v3.1.13 with PHP 8.2 without making any changes to the system? @jafjaf So, it is safe to use PHP 8.1? And if I want to upgrade to PHP 8.2 or higher, then I need to make the changes you mentioned? I am still working on a CodeIgniter 3 project, so I need to know which is the latest PHP version that is safe to upgrade to. |
It depends on how you define "safe."
However, the community remains quite active, and there are ongoing efforts to keep CodeIgniter 3 viable with updates and patches. Supporting PHP versions for CodeIgniter 3
|
Pocketarc Fork already works with PHP 8.3 without any issues. You just have to adapt your own code where needed: |
Quoting jamieburchell below from #6173 The releases from this fork appear to be based on the IMO it would be better to cherry-pick and apply specific fixes to the latest actual release/master if you want to keep as close as possible to the last official 3.1.13 release. |
I wanted to use PHP 8.3 with CI 3.1.13
I've installed PHP 8.3 and it gives the following error.
The text was updated successfully, but these errors were encountered: