I have a feeling, that you have 2 PHP installations on your server, namely php5.6 and php7.0. Since there is presence of php7.0 and you do not seem to have used (based on the way you described the problem) custom source.list to achieve this I presume that you have Ubuntu 16.04 installed.
The following commands on your Ubuntu 16.04 server should resolve this issue for you:
apt install php7.0-mysql
service php7.0-fpm restart
service nginx restart
However, if you indeed have active php5 installed and activated, you should check if your php-fpm pool is using a different version. You can check this by looking into file:
/etc/php/7.0/fpm/pool.d/www.conf
Additionally, you can update your question with additional details, by running the following commands on your server and sharing with us their output:
lsb_release -a (determines Ubuntu version)
which php (determines which php is loaded in the command line)
service --status-all (shows installed services and their status)
Based on the details you have provided I assume that there is some mixup with the PHP packages, and this should help you to get rid of the problem. Please note, that the following command will most likely influence other website on the same server, and you should understand what this command does before you run it. In essence it will remove all php packages you have right now, and then install back only php7.0 packages.
apt update
apt purge --auto-remove php-common php-fpm php-mysql php7.0-cli php7.0-common php7.0-fpm php7.0-json php7.0-mysql php7.0-opcache php7.0-readline
apt autoremove -y
apt autoclean -y
apt install php7.0-fpm php7.0-mbstring php7.0-xml php7.0-mysql php7.0-common php7.0-gd php7.0-json php7.0-cli php7.0-curl