Unofficial support to PHP 8 on WordOps
This is an unofficial patch to add WordOps support to PHP 8.0 and 8.1.
This script serves to my purposes, and there's no way I can guarantee it will work in your environment or meet your expectations.
I can't provide any support for it. Its source code is entirely published in GitHub so that anyone can inspect it before deciding to run it.
Make backups of your server before trying this script. It may ruin your server and I can't help you to recover, neither can I take any responsibility for any unexpected results. Be responsible!
You should be root to run this script.
cd /home
git clone https://github.com/janiosarmento/wo-php8
cd wo-php8
./install.sh
At this point, your WO should be patched. Just delete the temporary directory.
cd /home
rm -rf wo-php8
# wo --version
WordOps v3.13.3-fork
Copyright (c) 2020 WordOps.
Notice the "fork" tag beside the version number.
wo stack install --php81
wo site update yourdomain.com --php81