Upgrade | Compatibility | Reply From ZTech |
Gathering information I have on installing/upgrading PHP on CentOS7
I see that we have multiple versions of php installed on mseas. I don't think the simple installations below (via YUM) will work.
A link that contains some notes on earlier issues we had with PHP and mysql: http://mseas.mit.edu/download/phaley/cluster/Upgrade_2018_2019/kerberos_wordpress.html
A related issue is the compatibility of WordPress and the themes/plugins we use with updated versions of PHP. Running the "PHP Compatibility Checker" plugin on WordPress gives 3 warnings for the plugin "PostMash Custom" (but clean bills of health on everything else):
Once we upgrade PHP to version 8.x there is a reasonable risk that these warnings will become errors and I doubt that the "PostMash Custom" plugin will be updated:FILE: /srv/www/htdocs/wp-content/plugins/postmash-custom/myjson.php ---------------------------------------------------------------------------------------------- FOUND 0 ERRORS AND 3 WARNINGS AFFECTING 3 LINES ---------------------------------------------------------------------------------------------- 133 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7. 783 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7. 797 | WARNING | Use of deprecated PHP4 style class constructor is not supported since PHP 7. ----------------------------------------------------------------------------------------------
The PHP question is actually pretty simple :-) – I’ve had no end of incompatibility and stability problems with v8 so it’s highly recommended by pretty much everyone to go to 7.4 and ignore that 8 exists for now.