CodeIgniter Forums

Full Version: Performance: Codeigniter 3.1.10 in PHP 5.6 vs PHP 7.2
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi!

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

Thanks a lot. =)
There is not much difference, CI is fast framework.
(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)
(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
You can also setup the php 7 Opcache that will really speed things up.