@Larry_Boyd is right: you better should have searched the forum for a string like “upgerade php” or similar. And again yes: it’s not about NC, primarily. But as you can see, we do our best to feature that as well (whenever we see such things).
as you didn’t provide enough info I really can’t help you further than just posting 2 random solutions from the dozens I found.
(there are way more!)
so it’s up to you trying them. remember to have fresh backups ready, just in case.
awww and don’t forget to post the working solution here as an answer.