Welcome Guest, Not a member yet? Register   Sign In
Performance: Codeigniter 3.1.10 in PHP 5.6 vs PHP 7.2
#1
Question 

Hi!

Is there any comparative performance of Codeigniter in these versions of PHP?

Thanks a lot. =)
Reply
#2

There is not much difference, CI is fast framework.
Reply
#3

(07-03-2019, 01:09 PM)website Wrote: There is not much difference, CI is fast framework.

Not for CodeIgniter but for PHP itself for sure PHP 7+ has better performance than 5.6.
Another question is, will you feel it or no. It always depend on the code that you have.
For old well performing projects there is no big point to upgrade them (except that 5.6 is not supported officially).

New project should be started only at PHP 7+ versions (latest == better)
Best VPS Hosting : Digital Ocean
Reply
#4

(07-04-2019, 03:42 AM)sv3tli0 Wrote:
(07-03-2019, 01:09 PM)website Wrote: There is not much difference, CI is fast framework.

Not for CodeIgniter but for PHP itself for sure PHP 7+ has better performance than 5.6.
Another question is, will you feel it or no. It always depend on the code that you have.
For old well performing projects there is no big point to upgrade them (except that 5.6 is not supported officially).

New project should be started only at PHP 7+ versions (latest == better)

That's right, it may depend on how your code was written!

I changed the PHP version from 5.6 to 7.0 last year and processes that lasted an average of 15 minutes, dropped to just 3 minutes!

At least for me the difference was great, only with the upgrade of the PHP version  Smile
Reply
#5

You can also setup the php 7 Opcache that will really speed things up.
What did you Try? What did you Get? What did you Expect?

Joined CodeIgniter Community 2009.  ( Skype: insitfx )
Reply




Theme © iAndrew 2016 - Forum software by © MyBB