PDOException in Connector.php line: could not find driver-[PDOException] could not find driver

0
141

If face this kinds of Problem in Local Server, Follow below steps solved easily:
Run phpinfo.php in a Server and Look php.ini situation.
1. Find php.ini path via phpinfo()
if use Terminal lets Do something like –

2. Find out Line and uncomment
extension=php_pdo_mysql.dll
3. add this line after above line
extension=pdo_mysql.so

to