I am by no means a Linux Power User, but I have been dabbling with it over the years. Am I understanding you correctly in that I need to downgrade PHP to an older version, then uninstall nginx and install apache2? This is a virtual server for this purpose only, would it be easier to reinstall Ubuntu and get the right packages during the install process?
Thank you for your assistance and advice.