Plesk (Obsidian) supports PHP 8.0.3.But Plesk 17.8 supports max 7.2. I think
I'm using Plesk Onyx. I asked my Host to update Plesk and He accepted. At the end of the day we will switch to PHP 8.Plesk (Obsidian) supports PHP 8.0.3.
Updated to 8.0.6 easily without issue thanks to your centminmod softwareFYI, PHP 8.0.6 is latest
php -v PHP 8.0.6 (cli) (built: May 6 2021 16:50:48) ( NTS ) Copyright (c) The PHP Group Zend Engine v4.0.6, Copyright (c) Zend Technologies with Zend OPcache v8.0.6, Copyright (c), by Zend Technologies
Server environment report You have the recommended PHP version. PHP version 8.0.5 MySQL version 10.3.29 (10.3.29-MariaDB) PHP memory_limit -1 PHP post_max_size 128M PHP upload_max_filesize 64M PHP max_input_vars 1000 PHP max_execution_time -1 cURL version 7.76.1 cURL SSL version OpenSSL/1.1.1k OpenSSL version OpenSSL 1.1.1k 25 Mar 2021 Suhosin enabled No Imagick support Yes EXIF support Yes GZip support Yes mbstring support Yes gmp support Yes ZipArchive support Yes
Depending on the forum, several by @AndyB, several by @OzzModz, several by @BassMan, some user upgrade addons from @Xen-Soluce and @XTR, more... There were only two custom addons on one forum that I needed to disable. In one case, it was a custom addon with intermittent errors on PHP7.4 and the dev no longer creates or supports his addons, so moving to PHP8 amplified those. It was a feature, non-critical, so for now until I can take a look at it myself, I just disabled it. In the second case, the dev is currently ill and it too had one error on PHP7.4 which possibly was exacerbated by PHP8; that one I'll pursue when the dev is feeling better.What add-ons do you have installed?
The host determines which versions are available in cPanel. Mine caps out at 7.4 right now. Since that is supported, I am not going to make a fuss yet.I didn't know you could select PHP versions in cPanel, I figured it was down to the hosting company to update. Looking now I do see PHP8 is available so I might try it out over the weekend. I do have a lot of addons which might give issues, but its still worth having a look I suppose.
The host determines which versions are available in cPanel. Mine caps out at 7.4 right now. Since that is supported, I am not going to make a fuss yet.
OverviewThis document discusses the key changes and limitations of PHP 8 in EasyApache 4. PHP 8.0 is the most recent major version released by php.net. It provides a number of updates and improvements over previous versions of PHP.
PHP 8.0 is only available for systems that run CentOS 7 or newer or AlmaLinux 8.
For a complete list of changes, including the new features and any breaking changes, read PHP’s Upgrade Notes.
Benefits of PHP 8PHP 8 includes the addition of the following features:
- Support for Union types — Union types allow you to assign multiple types to a parameter, property, or return.
- The Just in Time (JIT) compiler — The JIT compiler will compile parts of your code an runtime, in order to improve the response time of your web pages.
- Named arguments — Named arguments allow you to assign a name to input data and call that in your code, rather than the the order of the argument.
- Attributes — Attributes act as an annotation in your PHP code, which allows you to add meta data.
Currently unavailable in PHP 8The following extensions and modules are not currently available for PHP 8:
Incompatible with PHP 8The following software currently does not work with PHP 8. This list is not comprehensive.
Currently Running on 7.4.18 FPM. There's absolutely no reason for me to upgrade to 8. Actually I rarely upgrade a stable/secure/supported version for anything newer. In some environments stability and security are more important than "shiny" new features.
How about increased speed and increased security? Do you consider them to be just "shiny new features"?
I'm seeing this. On about half of my Wordpress installs, php 8 breaks the site or throws error codes. Fortunately on my main xf site which has a WP front end, 8 is working great.I'll probably run 8 any fully up to date XF site on it's own. If there's also a wordpress install in tandem though I'll probably be stuck on 7.3 or 7.4 as many plugins aren't fully compatible with 8 yet.
With all due respect, you have a misguided perspective on the issue. Following your logic, php 5.x is a more stable/secure/supported version.Currently Running on 7.4.18 FPM. There's absolutely no reason for me to upgrade to 8. Actually I rarely upgrade a stable/secure/supported version for anything newer. In some environments stability and security are more important than "shiny" new features.
I'll probably run 8 any fully up to date XF site on it's own. If there's also a wordpress install in tandem though I'll probably be stuck on 7.3 or 7.4 as many plugins aren't fully compatible with 8 yet.
Same here. We currently run all XF2 with PHP 7.4 as quite a few use XPress/XLink with WordPress - WP doesn't seem fully ready for PHP 8 and we are still on XF 2.1 anyway.
Could run new installs on PHP 8.
I'm seeing this. On about half of my Wordpress installs, php 8 breaks the site or throws error codes. Fortunately on my main xf site which has a WP front end, 8 is working great.
WordPress core files are not yet fully compatible with PHP8.
I just get blank pages for WordPress 5.7.x under PHP8.Effectively it is compatible if you're not running any themes or plugins that may not be compatible.
Update on November 24, 2020: Added a call out in the “Strict type/value validations for internal functions” section that there are still scenarios where WP Core could potentially pass i…make.wordpress.org
It's up to you to ensure any themes are plugins are also compatible.
They acknowledge there may be undiscovered issues but 5.7 seems grand if you don't have too many plugins or an old theme. I'm running some sites just fine on PHP8 with no errors or warnings.