Already checked this one: PHP Fatal error: Class 'PDO' not found and many other answers.
I created a .htaccess file in the website root folder:
# PHP 7.2
<IfModule mime_module>
AddHandler application/x-httpd-ea-php72 .php .php7 .phtml
</IfModule>
Then I started having
Class 'PDO' not found
PS: I am using shared hosting therefore upgrading to php7.2 is only possible via .htaccess. Is there a way to update .htaccess so it can use pdo?