Jump to content
thirty bees forum

Recommended Posts

Posted (edited)

Ubuntu 20.04 ships with PHP 7.4 as default php implementation.  What is the current status for Thirtybees vs PHP 7.4 ?

If running PHP 7.4, what problems might I Face ?

Edited by Petter
typo
Posted
16 minutes ago, Petter said:

Ubuntu 20.04 ships with PHP 4 as default php implementation.  What is the current status for Thirtybees vs PHP 4 ?

If running PHP 4, what problems might I Face ?

Not PHP 4 sureley - that is very old.

Perhaps 7.4?

Posted

I don't see any reasons why thirtybees wouldn't work with php7.4. 

There might be some new warnigns / notices in the logs, but nothing serious. Report these to github.

  • Like 1
Posted (edited)

Not that it does not work.

But error_log gets big very quickly.

Going to home page, than to category, adding 5 different product to cart and continue to checkout (switching address in between) results in 7,1MB big error_log file.

So during a day / or a week, that file might get very very big. 🙂

However most of the errors are related to this


 
array_key_exists(): Using array_key_exists() on objects is deprecated. Use isset() or property_exists() instead in /home/alzarac1/shop.alza-racing.com/classes/ObjectModel.php on line 1996

 

Edited by toplakd
Posted (edited)

PHP4 is "the next"  Ubuntu 20.04 is now released with PHP7.4 as default and I think most folks doing a new installation of Thirty Bees might consider Ubuntu 20.04 server to be used as operating system.  From a Thirty Bees perspective, PHP7.4  compability should be considered high priority. 🙂

Edited by Petter
Typo
Posted (edited)
9 minutes ago, Petter said:

PHP4 is "the next" Ubuntu 20.04 is now released with PHP4

New Ubuntu does not come with PHP4.

PHP 4 reached its end of life somewhere in 2014.

https://www.php.net/manual/php4.php

But hopefully current 7.4 version will be 100% supported in near future.

Edited by toplakd
Posted
5 hours ago, the.rampage.rado said:

As for today - TB does not support PHP7.4

That's not true. I'm using tb in my local installation with php7.4 without any problems.

True, there are some notices and warnings in the log. But that doesn't mean tb is incompatible with 7.4. It means that it will not be compatible with future versions of php, unless somebody addresses those warnings. 

  • Like 2

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...