Page 1 of 1

Which version of PHP does WB need

Posted: Sun Jun 12, 2022 1:56 am
by Lasa
Hi
I want to make sure my host is using the optimal PHP for my WB 17 built form
I know Pablo told me the minimum PHP version required, but can't find it for the life of me... maybe 5.6?
What is optimal when using the WB FORMs?

Lasa

I just checked that my hostings PHP it says "This hosting package is currently running PHP Version: 5.3" !! <---ancient stuff!
What would be the best PHP version for WB Forms their choices are:
8.0, 7.4, 7.3, 7.0, 5.6 and 5.4, I'm assuming 8.0?

Re: Which version of PHP does WB need

Posted: Sun Jun 12, 2022 4:25 am
by wwonderfull
Lasa wrote: Sun Jun 12, 2022 1:56 am Hi
I want to make sure my host is using the optimal PHP for my WB 17 built form
I know Pablo told me the minimum PHP version required, but can't find it for the life of me... maybe 5.6?
What is optimal when using the WB FORMs?

Lasa

I just checked that my hostings PHP it says "This hosting package is currently running PHP Version: 5.3" !! <---ancient stuff!
What would be the best PHP version for WB Forms their choices are:
8.0, 7.4, 7.3, 7.0, 5.6 and 5.4, I'm assuming 8.0?
Depends on your server sometimes and sometimes it doesn't. But for the basic need yeah even the 5.6 will do the form submitting and the 8.0 also. But its more about what features are you using of the versions. If for some kind of a feature require php version 8.0 then you use it. if not you can use 5.6 7.4 or any. Latest versions usually have better bug fixes and better features as we know and older versions sometimes depricate some features which we some times don't know what are we missing.

So if the feature you are using is in the depreciation list then you might have to adjust your PHP version in the server. Other than that for the basic form submitting or even the login features there was never an issue even with PHP version 5.6. You can try in the middle if you want like 7.3 to be just in the middle of the modern php and the old version of php. That is from my perspective the rest would be your thinking. I use php version 8 without any issue. There is a new version which is PHP 8.1 and it has some depreciation of the previous versions 8.0.
More on deprecated features here https://eusonlito.github.io/php-changes ... cated.html

Re: Which version of PHP does WB need

Posted: Sun Jun 12, 2022 7:31 am
by Pablo

Re: Which version of PHP does WB need

Posted: Sun Jun 12, 2022 11:54 am
by Lasa
Yes thank you