Unable to connect moodle with SQL server

Unable to connect moodle with SQL server

by Denis Truhlaž -
Number of replies: 0

Hello, 

on installation moodle I'm unable to connect moodle with SQL server database, error is shown on picture bellow.

10.10.10.3 is the local server IP where is database running where i created with SQL server management studio database called moodle

PHP version- 7.0.32

Apache version- 2.4.34

I must to mention that I installed extension pdo_sqlsrv correctly(it's visible when i go to php dashboard-> PHPinfo under pdo_sqlsrv), but on installation screen when it's asking for database driver is says that SQL Server Microsoft(native/sqlsrv) not available.

I don't have config.php in htdocs\/moodle directory, I have config-dist.php where i set $CFG->dbtype = 'sqlsrv'; 

Thanks in advance!







Average of ratings: -