Hello @boobu ,
after Updating your PHP Version you have to do the Steps for PHP Installation again.
See here: https://kb.i-doit.com/pages/viewpage.action?pageId=36864037#DebianGNU/Linux-PHP
Do not forget to install the php-extension for the new Version.

best regards
Micha