![]() |
Using php 8.3 - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Development (https://forum.codeigniter.com/forumdisplay.php?fid=6) +--- Forum: CodeIgniter 3.x (https://forum.codeigniter.com/forumdisplay.php?fid=17) +--- Thread: Using php 8.3 (/showthread.php?tid=91356) Pages:
1
2
|
Using php 8.3 - msheath - 07-27-2024 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? RE: Using php 8.3 - kenjis - 07-27-2024 See https://github.com/bcit-ci/CodeIgniter/issues/6278 RE: Using php 8.3 - msheath - 07-28-2024 (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. RE: Using php 8.3 - Bosborne - 07-28-2024 This looks like a good reason to jump to Codeigniter 4 which supports PHP 8.3 RE: Using php 8.3 - msheath - 07-28-2024 (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! RE: Using php 8.3 - kenjis - 07-28-2024 One note for pocketarc/codeigniter. See https://github.com/bcit-ci/CodeIgniter/issues/6278#issuecomment-2136716732 Therefore pocketarc/codeigniter works, but in some cases, it may behave differently from CI 3.1.13 (master). RE: Using php 8.3 - msheath - 07-28-2024 (07-28-2024, 02:50 PM)kenjis Wrote: One note for pocketarc/codeigniter. Noted! Many thanks for that. RE: Using php 8.3 - RRIOS - 08-03-2024 (07-28-2024, 02:50 PM)kenjis Wrote: One note for pocketarc/codeigniter. 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? RE: Using php 8.3 - kenjis - 08-03-2024 If you are using PHP 7.4, you can use CodeIgniter 4.4.8. https://github.com/codeigniter4/framework/tree/v4.4.8?tab=readme-ov-file#server-requirements RE: Using php 8.3 - RRIOS - 08-10-2024 (08-03-2024, 11:12 PM)kenjis Wrote: If you are using PHP 7.4, you can use CodeIgniter 4.4.8. |