0

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?

erol yeniaras
  • 3,701
  • 2
  • 22
  • 40
  • 2
    Nope. Contact your host's support. – Sammitch May 06 '20 at 23:51
  • I do not understand why this question was closed by. I already checked the provided link, provided that in the first line of the question. This question is not duplicate and none of the answers in 'PHP Fatal error: Class 'PDO' not found' link resolved the issue. @Your Common Sense – erol yeniaras May 07 '20 at 07:36

0 Answers0