XC5 - Support for PHP 8.0 & subsequent PHP 8.* releases
By pure chance, saw that PHP 8.0 support was on a previous 'road map' for XC4. There's no such 'road map' for XC5 (that's available online anyway) so raising the question about future support for PHP 8.0 by XC5? Here is the PHP Support Schedule for reference. The last change for XC5 in terms of PHP release support, was almost kept as a secret :D/ Only found out about it via posts by other users on this forum. These were other users that had made the switch over to PHP 7.4.* and tested things themselves, in advance, then bug fixes were applied by XC and it became usable - but still via knowledge by accident mainly, not a timely official announcement as expected. New forum format, new approach to notifications by XC? Fingers crossed then!
|
Re: XC5 - Support for PHP 8.0 & subsequent PHP 8.* releases
Thanks for this question!
There is no ETA on this big change yet. 5.4.2.x won't be adapted to PHP 8 for sure. The main issue is that a lot of libs don't support PHP 8 yet. Moreover, some of them have such plans (adapting), and some of them are going to be dropped (as a result, forks have to be developed and adapted). Some of the libs are going to support only the "upper" versions like >7.3 so all the previous ones won't be compatible. Anyway, I will always post a "New 5.N.N.N version released" with a changelog link so you can see all the included changes/fixes/improvements. |
Re: XC5 - Support for PHP 8.0 & subsequent PHP 8.* releases
Quote:
Quote:
Quote:
|
Re: XC5 - Support for PHP 8.0 & subsequent PHP 8.* releases
Thank you for your feedback. I've shared this with our product and engineering teams.
I'd also be happy to help look into the status of any open ticket if you can share a ticket number. |
Re: XC5 - Support for PHP 8.0 & subsequent PHP 8.* releases
Quote:
|
Re: XC5 - Support for PHP 8.0 & subsequent PHP 8.* releases
Quote:
Relevant things to note: 1) After taking people's money willynilly for "support" XC haven't actually provided anything at all since 1/11/21. Have look yourself: https://devs.x-cart.com/changelog/ Are they still asleep? 2) Even better, XC5.4.1.* now has the most - ever - number of point releases of any XC5 version and the XC5.4.2.* mentioned above is, wait for it, still "...conspicuous by it's absence" =D> 3) PHP Support? XC are hanging on to XC7.4.* like ia drowning child, yet, as you can clearly see here: https://www.php.net/supported-versions.php It has already lost active support, PHP 8.0.* is already, NOT the current stable release because PHP 8.1.* is... Hello XC are you aware that self-hosted customers still exist? AFAIK Misrepresentation is still a criminal act. Class-action litigation can't be that far away... can it? :???: |
Re: XC5 - Support for PHP 8.0 & subsequent PHP 8.* releases
Actually it would be nice if X-Cart supported php 7.4 before talking about 8.0.. I can't run X-Cart with php 7.4. For example, if I write something like https://devs.x-cart.com/basics/working_with_x-cart_externally.html then I get the following error
Code:
[Thu Feb 03 16:39:23.906710 2022] [proxy_fcgi:error] [pid 1382704] [client 192.168.1.1:46168] AH01071: Got error 'PHP message: PHP Deprecated: Required parameter $message follows optional parameter $dbURL in path-to-xcart/Includes/functions.php on line 818PHP message: PHP Fatal error: Declaration of Doctrine\\DBAL\\Driver\\PDOConnection::query() must be compatible with PDO::query(string $query, ?int $fetchMode = null, mixed ...$fetchModeArgs) in path-to-xcart/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOConnection.php on line 70' |
Re: XC5 - Support for PHP 8.0 & subsequent PHP 8.* releases
Quote:
Quote:
|
Re: XC5 - Support for PHP 8.0 & subsequent PHP 8.* releases
Quote:
if you are on 5.2.x as your signature suggest or even 5.3.x you cannot run it on PHP 7.4. You can't run it on MySQL 8 either. And no one will touch these old versions to make them compatible. PHP 7.4 and MySQL 8 work only with XC 5.4.x. The error you have posted is most likely with the 3rd party framework. Considering the newest Symfony version requires PHP 8.0.2+ and a lot of the other 3rd party software XC uses are ready for PHP 8 yet XC 5.4.x is not I can assume they will not do anything about it. So 5.4.1.x will stay as is and maybe maybe 5.4.2 will be PHP 8 ready, or maybe 5.5.x and above only. When PHP 8 is being deprecated... maybe |
Re: XC5 - Support for PHP 8.0 & subsequent PHP 8.* releases
Oh, sorry, my signature is about our last production store, but I have bunch of different developement stores including one version 5.4.1.34 running with latest mariadb and php 7.3 and 7.2. and I can't run them with php7.4.
|
All times are GMT -8. The time now is 10:51 PM. |
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.