CodeIgniter icon indicating copy to clipboard operation
CodeIgniter copied to clipboard

Is Codeigniter version 3.1.10 is support for php 8.0 or php 8.1 ?

Open vkdevhero opened this issue 2 years ago • 5 comments

Hello all I hope you are doing well.

I have one question regarding whether CodeIgniter version 3.1.10 is compatible with PHP 8.0 or 8.1? If yes, Can you tell me what changes is needed to upgrade to PHP version 8.0 or 8.1?

Thanks

vkdevhero avatar Jul 21 '23 05:07 vkdevhero

Hi @vkdevhero, not sure for 3.1.10 but 3.1.13 is okay with php8.0 and php8.1 and then fail on php8.2 in my machine.

jp26198926 avatar Jul 21 '23 06:07 jp26198926

@jp26198926 Ok thanks.

vkdevhero avatar Jul 21 '23 09:07 vkdevhero

yes, im use currently with php 8.1 and its ok;

mariolucasdev avatar Jul 23 '23 11:07 mariolucasdev

There seems to be a lot of MR about PHP 8.x compatibility

ganl avatar Aug 13 '23 11:08 ganl

redirect not working

LakshmiPrem avatar Nov 08 '23 12:11 LakshmiPrem

in php 8.2.4 can't running and error

mohsetiawanmodeong avatar Feb 19 '24 07:02 mohsetiawanmodeong

@vkdevhero and @mohsetiawanmodeong

I currently have 3 projects running with php 8.1 and codeigniter 3.1.13 and it is working perfectly.

It doesn't work with 8.2, just as codeigniter with versions prior to 3.1.13 doesn't work with php 8.1.

Updating Codeigniter is very simple, you can see this documentation page.

https://codeigniter.com/userguide3/installation/upgrading.html

mariolucasdev avatar Feb 19 '24 08:02 mariolucasdev

Thanks for the advice, So how to upgrade from ci 3.1.10 to 3.1.13 directly? I'm using php 8.2.4, and ci 3.1.10 still error.

Thanks, Wawan

On Mon, Feb 19, 2024, 17:33 Mário Lucas @.***> wrote:

@vkdevhero https://github.com/vkdevhero and @mohsetiawanmodeong https://github.com/mohsetiawanmodeong

I currently have 3 projects running with php 8.1 and codeigniter 3.1.13 and it is working perfectly.

It doesn't work with 8.2, just as codeigniter with versions prior to 3.1.13 doesn't work with php 8.1.

Updating Codeigniter is very simple, you can see this documentation page.

https://codeigniter.com/userguide3/installation/upgrading.html

— Reply to this email directly, view it on GitHub https://github.com/bcit-ci/CodeIgniter/issues/6230#issuecomment-1951940386, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM573WQGDA4TWNMCP36AK73YUME3ZAVCNFSM6AAAAAA2SLHFBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJRHE2DAMZYGY . You are receiving this because you were mentioned.Message ID: @.***>

mohsetiawanmodeong avatar Feb 19 '24 08:02 mohsetiawanmodeong

@mohsetiawanmodeong

you have to follow the step by step of each version, 3.1.10 > 3.1.11 until you reach the most recent one.

Another thing is that with php 8.2 codeigniter 3.1.13 does not work.

Version 3.1.13 works well with php 8.1.

mariolucasdev avatar Feb 19 '24 08:02 mariolucasdev

Ahh i c, So, CI 3 not support again with php 8.2.4? Thanks dude.

On Mon, Feb 19, 2024, 17:51 Mário Lucas @.***> wrote:

@mohsetiawanmodeong https://github.com/mohsetiawanmodeong

you have to follow the step by step of each version, 3.1.10 > 3.1.11 until you reach the most recent one.

Another thing is that with php 8.2 codeigniter 3.1.13 does not work.

Version 3.1.13 works well with php 8.1.

— Reply to this email directly, view it on GitHub https://github.com/bcit-ci/CodeIgniter/issues/6230#issuecomment-1951969244, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM573WXRJW66L3S2XHFVHXDYUMHAFAVCNFSM6AAAAAA2SLHFBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJRHE3DSMRUGQ . You are receiving this because you were mentioned.Message ID: @.***>

mohsetiawanmodeong avatar Feb 19 '24 23:02 mohsetiawanmodeong

No, CI 3.1.13 does not work with PHP 8.2 at all. You need to upgrade it by yourself.

kenjis avatar Feb 19 '24 23:02 kenjis

oke thanks dude. can you give me a tutorial for upgrade to PHP 8.2.4?

Pada Sel, 20 Feb 2024 pukul 09.00 kenjis @.***> menulis:

No, CI 3.1.13 does not work with PHP 8.2 at all. You need to upgrade it by yourself.

— Reply to this email directly, view it on GitHub https://github.com/bcit-ci/CodeIgniter/issues/6230#issuecomment-1953291947, or unsubscribe https://github.com/notifications/unsubscribe-auth/AM573WULMFTL6TQXZDRIBIDYUPRQRAVCNFSM6AAAAAA2SLHFBWVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSNJTGI4TCOJUG4 . You are receiving this because you were mentioned.Message ID: @.***>

mohsetiawanmodeong avatar Feb 20 '24 00:02 mohsetiawanmodeong

There are no tutorials available to upgrade CodeIgniter 3.1.13 for PHP 8.2. However, PR #6173 is helpful.

Also, at least there is one fork project for PHP 8.2: https://github.com/pocketarc/codeigniter But it has some minor breaking changes. See https://github.com/pocketarc/codeigniter/issues/3

kenjis avatar Feb 20 '24 00:02 kenjis