php version

what PHP version your Apache server is using, 
the output of phpinfo() is always what you should pay attention to
sudo a2dismod php7.1
sudo a2enmod php7.3
sudo service apache2 restart