Everything is installed and I copied all the Production Data and Folders to the new server. I've followed all the instructions I can find to make this work, but I keep getting this message:
- Error: database driver problem detected
- The site administrator should verify server configuration
- Microsoft Drivers for SQL Server for PHP are not installed or not configured properly.
[PHP_SQLSRV]
extension=php_sqlsrv_7_nts_x64.dll
; extension=php_pdo_sqlsrv_7_nts_x64.dll
Which should be sufficient, I think. Files exist.
My config.php file contains:
$CFG->dbtype = 'sqlsrv';
$CFG->dblibrary = 'native';
$CFG->dbhost = 'localhost';
$CFG->dbname = 'moodle';
$CFG->dbuser = 'sa';
$CFG->dbpass = 'password';
$CFG->prefix = 'mdl_';
$CFG->dboptions = array (
'dbpersist' => 0,
'dbsocket' => 0,
If you have any advice on how to get the SQL 2016 drivers to work, please let me know.