Receiving Error When Installing SugarCRM v 13 (Sql Server)

I am receiving the following error 

Database Support was not found. Please make sure you have the necessary drivers for one of the following supported Database Types: MySQL, MS SQLServer, Oracle, or DB2. You might need to uncomment the extension in the php.ini file, or recompile with the right binary file, depending on your version of PHP. Please refer to your PHP Manual for more information on how to enable Database Support.

I have updated the php.ini file with the to point to the ext folder with  ext=php_sqlsrv_82_nts_x64.dll..  Can you advise if the sql server reference is correct and/or I am missing something.

Parents Reply Children
  • Maybe this helps:

    SugarCRM 12.0 fresh install --- php errors noted:


    Warning: ini_set(): Session ini settings cannot be changed when a session is active in C:\A\xampp\htdocs\sugarcrm\include\utils.php on line 4009

    Warning: ini_set(): Session ini settings cannot be changed when a session is active in C:\A\xampp\htdocs\sugarcrm\include\utils.php on line 4009

    Fatal error: Uncaught Error: Call to undefined function mysqli_report() in C:\A\xampp\htdocs\sugarcrm\include\database\MysqliManager.php:280 Stack trace: #0 C:\A\xampp\htdocs\sugarcrm\install\checkDBSettings.php(112): MysqliManager->connect(Array, false) #1 C:\A\xampp\htdocs\sugarcrm\install\install_utils.php(1333): checkDBSettings(true) #2 C:\A\xampp\htdocs\sugarcrm\install.php(501): validate_dbConfig() #3 {main} thrown in C:\A\xampp\htdocs\sugarcrm\include\database\MysqliManager.php on line 280

    Fatal error: Uncaught TypeError: SugarQuery::setDBManager(): Argument #1 ($db) must be of type DBManager, bool given, called in C:\A\xampp\htdocs\sugarcrm\include\SugarQuery\SugarQuery.php on line 160 and defined in C:\A\xampp\htdocs\sugarcrm\include\SugarQuery\SugarQuery.php:167 Stack trace: #0 C:\A\xampp\htdocs\sugarcrm\include\SugarQuery\SugarQuery.php(160): SugarQuery->setDBManager(false) #1 C:\A\xampp\htdocs\sugarcrm\modules\Administration\UpgradeHistory.php(266): SugarQuery->__construct() #2 C:\A\xampp\htdocs\sugarcrm\src\PackageManager\PackageManager.php(746): UpgradeHistory->getJustInstalled() #3 C:\A\xampp\htdocs\sugarcrm\include\utils.php(3267): Sugarcrm\Sugarcrm\PackageManager\PackageManager->handleApplicationFatalError(Object(ErrorException)) #4 [internal function]: sugar_cleanup() #5 {main} thrown in C:\A\xampp\htdocs\sugarcrm\include\SugarQuery\SugarQuery.php on line 167

  • Hello Andries,

    I updated the drives in the php/ext folder for windows and added php_pdo_sqlsrv_7_nts.dll and php_sqlsrv_7_nts.dlland updated the php.ini file. I am past this window.  Also, I am having the same issue in sqlserver_connect() as you (Call to undefined function mysqli_report()).  I read the driver above does not support sqlserver_connect() deprecated, could be the same issue. good luck.