Welcome Guest, Not a member yet? Register   Sign In
Using php 8.3
#1

I have a number of legacy websites built on codeigniter 3, originally using php 7.4.33. I am now running wamp on local server with php 8.3 and getting errors - no surprises. Is there a straightforward approach to update codeigniter 3 code or a guidance website to help me make changes so it will run correctly with php 3.8?
Reply
#2

See https://github.com/bcit-ci/CodeIgniter/issues/6278
Reply
#3

(07-27-2024, 06:57 PM)kenjis Wrote: See https://github.com/bcit-ci/CodeIgniter/issues/6278

Many thanks for your response but I was rather hoping that there would be a drop-in system folder with all the changes incorporated. There seem to be about 50 'deprecations' indicated and I don't want to have to copy/paste every one.
Reply
#4

This looks like a good reason to jump to Codeigniter 4 which supports PHP 8.3
Reply
#5

(This post was last modified: 07-28-2024, 10:36 AM by msheath. Edit Reason: New info )

(07-28-2024, 03:59 AM)Bosborne Wrote: This looks like a good reason to jump to Codeigniter 4 which supports PHP 8.3

Nice idea but I've read the instructions for migrating to CI4 and it looks a bit of a nightmare!

UPDATE: I have changed the system files using the website https://github.com/pocketarc/codeigniter from another contributor and now running happily on php 8.3. Hooray!
Reply
#6

One note for pocketarc/codeigniter.
See https://github.com/bcit-ci/CodeIgniter/i...2136716732
Therefore pocketarc/codeigniter works, but in some cases, it may behave differently from CI 3.1.13 (master).
Reply
#7

(07-28-2024, 02:50 PM)kenjis Wrote: One note for pocketarc/codeigniter.
See https://github.com/bcit-ci/CodeIgniter/i...2136716732
Therefore pocketarc/codeigniter works, but in some cases, it may behave differently from CI 3.1.13 (master).

Noted! Many thanks for that.
Reply
#8

(This post was last modified: 08-03-2024, 01:21 PM by RRIOS.)

(07-28-2024, 02:50 PM)kenjis Wrote: One note for pocketarc/codeigniter.
See https://github.com/bcit-ci/CodeIgniter/i...2136716732
Therefore pocketarc/codeigniter works, but in some cases, it may behave differently from CI 3.1.13 (master).


    Hello, I need some help. I have a system running on Hostinger with CI 3.1.10. Now I need to create another, new system, and of course I opted for CI4.

    PHP 7.4 is running on the host and I read that CI4 needs a newer version.

    To avoid problems with the system that has CI 3.1.10, I just need to use the command "composer require pocketarc/codeigniter", through the TERMINAL inside the folder where my system is on the HOST, right?
Reply
#9

If you are using PHP 7.4, you can use CodeIgniter 4.4.8.
https://github.com/codeigniter4/framewor...quirements
Reply
#10
Thumbs Up 

(08-03-2024, 11:12 PM)kenjis Wrote: If you are using PHP 7.4, you can use CodeIgniter 4.4.8.
https://github.com/codeigniter4/framewor...quirements


Thank you, sorry for the delay, I will test
Reply




Theme © iAndrew 2016 - Forum software by © MyBB