Jump to content
  • 0

Failed to Connect After Switching from dblib to SQLSRV in PH


Question

Posted

I’ve been using my ACP for a long time without any issues, but recently, it seems there was an update in cPanel that deprecated the use of the dblib driver for database connections.

 

The hosting provider informed me that dblib is no longer supported in PHP versions above 5.6, and they suggested switching to the sqlsrv driver.

 

Although my ACP is still running on PHP 5.6, I followed the advice and updated the database connection method in configs.php to use sqlsrv (by choosing the 4th option in the config), but I keep getting the following error: "Failed to connect! #SQLSRV #DB".

 

Has anyone come across this issue or know where I should start looking to resolve it?

 

Any insights would be really helpful!

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...