A safe solution is to reinstall all php7 related packages.
You can do this by simply entering this command in the console:
sudo apt-get install --reinstall `dpkg -l | grep 'ii php7' | awk '{ printf($2" "); next}'`
This solution will not change your configuration.