Do not copy and paste this code, it requires changes
Other PHP versions available here: https://gist.github.com/search?q=user%3Amrl22+moss
As of writing this, Moss.sh STILL does not support anything above PHP 7.4 via the control panel even though Ubuntu does.
Set up your website using Moss.sh and select Apache with PHP 7.4.
Once complete, we need to install PHP 8.3 with all the packages moss installs for 7.4.