0

I am using:

  • XAMPP version 3.3.0 with php version 8.1.10
  • Microsoft SQL Server Management Studio 18

Error message:

Fatal error: Uncaught Error: Call to undefined function sqlsrv_connect() in C:\xampp\htdocs\treasureDoc\php\otentifikasi.php:5 Stack trace: #0 C:\xampp\htdocs\treasureDoc\index.html(45): otentifikasi('', '') #1 {main} thrown in C:\xampp\htdocs\treasureDoc\php\otentifikasi.php on line 5

This is what I have tried so far:

I've tried everything mentioned here Fatal error: Call to undefined function sqlsrv_connect() in C:\xampp\htdocs

Zhorov
  • 28,486
  • 6
  • 27
  • 52
Martin
  • 1
  • FYI, the version of SSMS you are using is irrelevant here; it's just an IDE like application for use with SQL Server, it has nothing to do with the problem of trying to connect to a SQL Server with php/xampp. – Thom A Oct 31 '22 at 14:31
  • Did you read all [this page you mention](https://learn.microsoft.com/en-us/sql/connect/php/download-drivers-php-sql-server?view=sql-server-ver16) including the **See Also** – RiggsFolly Oct 31 '22 at 14:39

0 Answers0