Ecommerce software home
Shopping Cart Software Forum for Ecommerce Templates
 
Home | Profile | Register | Active Topics | Members | Search | FAQ
Username:
Password:
Save Password
Forgot your Password?

Find us on Facebook Follow us on Twitter View our YouTube channel
Search our site
Forum Search
Google Site Search
Author « Topic »  

Steved
Ecommerce Template Guru

United Kingdom
1022 Posts

Pre-sales questions only
(More Details...)

Posted - 02/02/2021 :  13:00:25  
Hi,

Just wondering if the cart is compatible with PHP v8?

Just updated the server to PHP v7.4 and v8.
All seems to work with v8 but just noticed resending emails throws up a warning, though still seems to function.

I thought I’d read a post recently that the hosted stores use v8 but perhaps I’m mistaken.

Steve



1818charlie
ECT Moderator

United Kingdom
1194 Posts

Posted - 02/02/2021 :  16:39:54  
Hi Steve

Yes, according to Peter from Servelink the hosted store version is php v 8.0 compatible & this may be the post you saw
https://www.ecommercetemplates.com/support/topic.asp?TOPIC_ID=113574

Steve
Egerton Village, Bolton, UK

dbdave
ECT Moderator

USA
10409 Posts

Posted - 02/02/2021 :  17:40:17  
I'm no expert, but having read up on this recently, my understanding is that php v8 has some significant changes and may cause problems with many programs that need to be updated.
Now that's not to say there is a problem running ECT on it, but what I took away from several discussions is for production servers, stick to v7+ until you have thoroughly tested your various apps.

https://make.wordpress.org/core/2020/11/23/wordpress-and-php-8-0/

https://php.watch/versions/8.0

https://www.php.net/releases/8.0/en.php

David

1818charlie
ECT Moderator

United Kingdom
1194 Posts

Posted - 02/02/2021 :  18:24:23  
I'm sure Vince will keep us posted on the situation with PHP 8.0.

My test site on ECT 7.2.5 won't run on PHP 8.0, all I see when viewing the site is a white screen, so for now I have reverted it back to 7.4.

Unless absolutely necessary when new releases of software show up I'm one for waiting for bugs / flaws to be ironed out before jumping in to be able to say I've got the latest. So far that methodology has stood me in good stead.

Steve
Egerton Village, Bolton, UK

Steved
Ecommerce Template Guru

United Kingdom
1022 Posts

Pre-sales questions only
(More Details...)

Posted - 02/02/2021 :  22:33:33  
Thanks Steve and David,

Yes, it was the post from Servelink that I’d seen. I was just curious really and I’m sticking with PHP v7.4 anyway for the time being. One of my ECT sites also has a Wordpress v5.6 blog attached to it and that certainly doesn’t work under PHP v8.

Also Steve, probably unrelated but I had similar issues with white screen/PHP on previous PHP versions which I resolved by enabling php-fpm.

Steve

Edited by - Steved on 02/03/2021 00:28:36

Vince
Administrator

42761 Posts

Posted - 02/03/2021 :  06:04:31  
quote:
All seems to work with v8 but just noticed resending emails throws up a warning, though still seems to function.
This is fixed now and I've added the fix to the updater in the file...
vsadmin/popupemail.php
It was a bug that would cause the "Resend Email" popup to not change language if anything other than English was set, but with the change to PHP 8 it now throws a warning rather than lying dormant.

But in general things are fine with PHP 8 and I use it for development without problem. But as there are no features of PHP 8 that I need right now, and PHP 7.4 is fully supported (even 7.3 will receive security updates till December) then I wouldn't change to PHP 8 just yet if it were my store.

Vince

Click Here for Shopping Cart Software
Click Here to sign up for our newsletter
Click Here for the latest updater

Steved
Ecommerce Template Guru

United Kingdom
1022 Posts

Pre-sales questions only
(More Details...)

Posted - 02/03/2021 :  07:09:51  
Hi Vince,

Thanks for this. I think I'll stick with 7.4 anyway for now but good to know PHP 8 also works.

Steve

insight
ECT Moderator

USA
4479 Posts

Posted - 02/03/2021 :  11:07:34  
ECT runs fine on the latest PHP 8.0.1 here , provided you are also at the very latest ECT release. At present, the only known issue relates to a dependency of the Froala editor which needs to be updated upstream, but if you don't do image manipulation with Froala you won't see that.

WordPress core is also PHP 8 compatible. Comparison isn't really justified though as, with a library of nearly 60,000 plugins and Lord knows how many themes, it can take years to get some of the ecosystem updated and many plugins are abandoned and may never get updated. Sticking with abandoned code is poor policy though, will eventually end in tears, so you want to make plans to move on anyway.

The good news is most hosts (including ourselves) make it super simple to update PHP; just switch to the newest version and if something on the site breaks simply switch it back while you work on an upgrade plan. Takes five minutes.

Peter


Professional ecommerce web hosting services
Shared hosting Windows & Linux | Dedicated servers | Domains | SSL
Ecommerce Templates specialists since 2003
https://servelink.com
  « Topic »  
Jump To:
Shopping Cart Software Forum for Ecommerce Templates © 2002-2022 ecommercetemplates.com
This page was generated in 0.02 seconds. Snitz Forums 2000