Php 7.0 Or 7.1 Or 7.2?

I am running the latest version of CS-Cart Pro.

Having just switched web hosts, I now have the ability to run my site on PHP 7 (my former host wouldn't allow me to have some sites on PHP 7 at the same time as others that were still on 5).

So, does it matter whether I choose 7.0, or 7.1 or 7.2? All of those are options in my PHP manger.

Thanks.



So, does it matter whether I choose 7.0, or 7.1 or 7.2? All of those are options in my PHP manger.

.

Each newer version has some bug fixies, improvements etc.

So basically just go with the highest...

Look at CS-Cart Requirements page; http://docs.cs-cart.com/4.7.x/install/system_requirements.html

currently only support up tp PHP 7.1

7.2 gives many errors. Go for 7.1

7.2 gives many errors. Go for 7.1

Thank you!

Hi which php 7.1 version best?? I use php 7.1.4 but got some error

Hi which php 7.1 version best?? I use php 7.1.4 but got some error

Your errors may or may not be related to PHP version so I would start and new thread with the errors.

Hi which php 7.1 version best?? I use php 7.1.4 but got some error

Which errors do you get? Can you post some examples here?

Each new PHP version has some fixes and improvement in code structure or performance. For example, there was a huge difference in performance between 5.6 and 7.0 but only slight improvement in performance between 7.0 and 7.2. I have used PHP 7.2 on my Cloudways hosting server. They have a custom stack that consists of varnish, memcached, redis and php-fpm. I upgraded directly from 5.6 to 7.2 and noticed a huge difference in performance. My website used to load in 2.2s but now loads in 1.1s.

Everything except PHP 7.2 is end of life 12/31. Go 7.2x

Everything except PHP 7.2 is end of life 12/31. Go 7.2x

That's gonna depend on what version of cs-cart the merchant is on. Only more recent versions ( don't trust my memory) like 4.7 and up will work properly with 7.x without modification.

True. He started by saying he was using the latest version... so I was basing it off of that.

Probably PHP 7.3 will not work properly with latest 4.9.3. SP1, right?

Probably PHP 7.3 will not work properly with latest 4.9.3. SP1, right?

This is a question for CS Cart team.

would it be a problem to run different PHP versions under different domains - stores (for testing purposes) for one CS ULT instalation?

Should be fine. We do this under Multi-PHP in WHM/Cpanel all the time.