Hi,
> But I do not know how to make changes to Wordpress.
Wampserver 3.1.9 supports php 5.6.40, so you can switch to PHP 5.6.40 which still supports the mysql library.
But the permanent solution would be to see on the WordPress side how to switch to the mysqli library.
---------------------------------------------------------------
Documentation Apache -
Documentation PHP -
Documentation MySQL -
Wampserver install files & addons