Could Not Find SQL Driver: Can't connect php with sqlserver


If you have a website that uses IIS and there is a technical problem when you want to connect php to the sql server, then you need a sqlserver driver on the php version currently used.


Microsoft itself has provided several sqlserver drivers that have been collected into one. Then you can directly download here


https://learn.microsoft.com/en-us/sql/connect/php/download-drivers-php-sql-server?view=sql-server-ver16 



You just have to adjust which version of php you use with your website needs. Then make sure your php module driver can be loaded all.

Did you find it helpful? Yes No

Send feedback
Sorry we couldn't be helpful. Help us improve this article with your feedback.