Installation failed: DB: could not find driver

*** Install Open Journal Systems [y/N] y
[pre-install]
[load: install.xml]
[version: 3.3.0.16]

[code: Installer Installer::checkPhpVersion]

[code: Installer Installer::createDirectories]
[migration: AnnouncementsMigration]
ERROR: Installation failed: DB: could not find driver (SQL: create table announcement_types (type_id bigint not null auto_increment primary key, assoc_type smallint not null, assoc_id bigint not null) default character set utf8 collate ‘utf8_general_ci’)

How to solve it. Thanks.

This error comes because you didn’t enable PDO extension in you both php.ini files

Follow these steps:

  1. Open php.ini
  2. Add extension=php_pdo_mysql.dll