Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

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

Closed
vkdevhero opened this issue Jul 21, 2023 · 13 comments
Closed

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

vkdevhero opened this issue Jul 21, 2023 · 13 comments

Comments

@vkdevhero
Copy link

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

@jp26198926
Copy link

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.

@vkdevhero
Copy link
Author

@jp26198926
Ok thanks.

@mariolucasdev
Copy link

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

@ganl
Copy link

ganl commented Aug 13, 2023

There seems to be a lot of MR about PHP 8.x compatibility�
https://github.com/bcit-ci/CodeIgniter/pulls?q=is%3Apr+is%3Aopen+PHP+8+

@gxgpet

@LakshmiPrem
Copy link

redirect not working

@mohsetiawanmodeong
Copy link

in php 8.2.4 can't running and error

@mariolucasdev
Copy link

@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

@mohsetiawanmodeong
Copy link

mohsetiawanmodeong commented Feb 19, 2024 via email

@mariolucasdev
Copy link

@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.

@mohsetiawanmodeong
Copy link

mohsetiawanmodeong commented Feb 19, 2024 via email

@kenjis
Copy link
Contributor

kenjis commented Feb 19, 2024

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

@mohsetiawanmodeong
Copy link

mohsetiawanmodeong commented Feb 20, 2024 via email

@kenjis
Copy link
Contributor

kenjis commented Feb 20, 2024

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 pocketarc#3

@gxgpet gxgpet closed this as completed Feb 20, 2024
@bcit-ci bcit-ci locked and limited conversation to collaborators Feb 20, 2024
@gxgpet gxgpet converted this issue into discussion #6269 Feb 20, 2024

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

8 participants