Hi @tonyb.
Unfortunately you did not fill out the support template, so I dont know what Operating System your server is running.
If you are on Debian or Ubuntu, you should use → the php-updater script ← to do all php related tasks, such as update, downgrade and switch between versions.
Read this to understand your issue: php has multiple SAPIs
h.t.h.
Much and good luck,
ernolf