Which is the recommended CI release and compatible latest PHP version for production? |
Hi all,
I'm developing a SaaS project with Codeigniter. I'm using 3.1.6 on PHP 7.2.6 on local dev machine and PHP 7.2.7 on remote server. I'm experiencing session problems on Ajax call (I'm using Ignited Datatables library) on remote server. I'm using Redis driver for sessions. I want to hear your suggestions about CI and PHP versions on production. Thank you, Burak
if you are developing the application now, why not use CI 3.1.9 and the same php as you would use on the remove machine?
Projects is started on January with 3.1.6 and still under development. I've customized some parts due to needs for SaaS. Trying to migrate to 3.1.9 but there are problems.
I'm actually asking is 3.1.9 is mature to be used on production and tested/recommended PHP version for it.
08-01-2018, 06:13 AM
(This post was last modified: 08-01-2018, 02:32 PM by Leo. Edit Reason: further testing ) (08-01-2018, 04:55 AM)randvader Wrote: I was going to use PHP7.2, are there known issues with CI? In my experience form validation library still has unresolved issues with PHP 7.2, in particular From_validation.php function valid_email()...so in my case I just reverted to 7.1 which has no issues whatsoever (built a bunch of sites, including e-commerce on it) update: nevermind, it works with 7.2 despite Codeigniter writing in logs the following: ERROR - 2018-08-01 21:44:38 --> Severity: 8192 --> idn_to_ascii(): INTL_IDNA_VARIANT_2003 is deprecated /my_path/system/libraries/Form_validation.php 1236 ERROR - 2018-08-01 21:44:38 --> Severity: 8192 --> idn_to_ascii(): INTL_IDNA_VARIANT_2003 is deprecated /my_path/system/libraries/Email.php 1865
Downloading CodeIgniter - CodeIgniter 3.1.9 documentation
Upgrading From a Previous Version - CodeIgniter 3.1.9 documentation I recommend you to Download new version or upgrade previous version - CodeIgniter 3.1.9 documentation |
Welcome Guest, Not a member yet? Register Sign In |