0

I am using PHP 7.3 and trying to run sqlsrv but I cannot get my PHP environment to load sqlsrv. I look at the phpinfo and the extension does not show up. These are the steps I have taken.

  1. Through the Web Platform Installer, I have installed PHP 7.3 for IIS, the SQL Server Driver, and the Windows Cache Extension.
  2. I have put php_sqlsrv_73_nts_x64.dll in the extension directory.
  3. I have verified my php.ini configurations.
  4. Downloaded and installed the latest Microsoft ODBC driver.
Shiny
  • 4,945
  • 3
  • 17
  • 33
SA3709
  • 192
  • 2
  • 11
  • What is your website being hosted through? What OS is your server? I also had a lot of issues trying to get SQL server working and the internet wasn't very helpful so I'll try my best to help you! – A Friend Dec 30 '19 at 23:53
  • I am running on windows. – SA3709 Dec 31 '19 at 16:42

1 Answers1

0

Found the bug. Turns out I was had installed the SQL Server Driver for IIS when I really needed the SQL Server Driver for IIS Express.

SA3709
  • 192
  • 2
  • 11