I was trying to connect to SQLite database file using PDO but it is showing the following error message.
PHP Fatal error: Uncaught PDOException: could not find driver in ...
The cause was that the SQLite extension was not activated. To resolve this, I edited php.ini to change
phpinfo(), you should get a section that look like the following.