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

2
  • 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. Commented Oct 31, 2022 at 14:31
  • Did you read all this page you mention including the See Also Commented Oct 31, 2022 at 14:39

0

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.