PDOException: could not find driver php 8 code example
Example 1: php Error!: could not find driver
apt-get install php-mysql
Example 2: PDOException::("could not find driver") windows
extension=php_pdo_mysql.dll
apt-get install php-mysql
extension=php_pdo_mysql.dll