soporte administrable.cl Posted July 6, 2022 Posted July 6, 2022 hello and together with slaudar, I tell you a concern, which is regarding the update of the php version where until now it is available up to 7.4 but most of the hosting services are already stopping using that version and require you to use 8.0 or higher. Do you know if we can have an update of the platform to use with said version without errors? since when testing with 8.0 it is not possible to load products.
undecided Posted July 6, 2022 Posted July 6, 2022 21 minutes ago, soporte administrable.cl said: ... 7.4 but most of the hosting services are already stopping using that version and require you to use 8.0 or higher. ... To be honest, if you have a hosting that changes php versions without asking or even if the just announce that the will stop most common php versions, you should really consider if you are at the right place.
soporte administrable.cl Posted July 6, 2022 Author Posted July 6, 2022 Hello It is not that the versions of php change, but when contracting new services we see that they no longer have that version available, they are working with 8.0 or later. He comments on this as what will be the projection of the Thirtybee platform since at some point and less and less hosting services offer that version.
undecided Posted July 7, 2022 Posted July 7, 2022 php 8 should be supported in TB1.4 which I guess will be out in summer, but again, if a hosting does not have most common used php versions available (does not matter if new contract or existing), the hosting is just the wrong one. A good host let you choose the php version which you need and even switch between them at any time (without charging any fees).
soporte administrable.cl Posted July 7, 2022 Author Posted July 7, 2022 (edited) That's right, when you hire a VPS it's very simple to have versions from 5.6 in PHP, but I've had clients who get their hosting like this as in the attached image: More than anything I leave it as a comment where the more time passes, the more clients may be in a situation of problems with the PHP version since there are few who have VPS and shared hosting where they are already depreciating versions lower than 7.4 Edited July 7, 2022 by soporte administrable.cl
datakick Posted July 7, 2022 Posted July 7, 2022 Upcoming version should run on PHP8. But of course, there might be some modules (third party or even thirty bees) that are not compatible. At the moment, you can try update your store to bleeding edge using core updater, and then switch to PHP8, and test. That would definitely help 1
aurel198 Posted July 7, 2022 Posted July 7, 2022 (edited) interesting information Edited July 7, 2022 by aurel198
Havouza Posted July 7, 2022 Posted July 7, 2022 If you have a vps you can install what ever version you need. There is no Linux that does not support all versions
netamismb Posted July 8, 2022 Posted July 8, 2022 I am running a production site with Thirtybees v1.3 on PHP8.0. I haven't encountered any issues.
toplakd Posted July 16, 2022 Posted July 16, 2022 (edited) One thing I get after switching to 8.0 and upgrading to latest bleeding edge and than trying to switch back to 7.4. Quote Composer detected issues in your platform: Your Composer dependencies require a PHP version ">= 8.0.0". After that I can no longer access website to use core updater to update the system back to use 7.4 🙂 Edited July 16, 2022 by toplakd
datakick Posted July 16, 2022 Posted July 16, 2022 Unfortunately, that is expected behaviour. We have different builds for different php versions. The reason is that some third party libraries are not supported on all php versions tb supports. For example, smarty v4.1 runs only on php 7.1 and newer. There exists different version of that library - 3.1.45 - that runs on php7.0 but have issues on php8. Hence the different builds for different php versions. Unfortunately, libs designed for php8 contains syntax or languate features that are not available in php7. So downgrading php version is not a good idea. There is a workaround - in cire updater settings you can select php version, and core updater will install code for that particular php version. So, while on PHP8 you can update your store to code designed for PHP7.4, and then downgrade. However, weird side effects can happen. 1
toplakd Posted July 16, 2022 Posted July 16, 2022 Thank you for mentioning that option 🙂 I tested it and it functions perfectly
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now