Connecting to Azure SQL from PHP? RRS feed

  • Question

  • I have an Azure Website created running PHP (5.3). I cannot get the 'sqlsrv_connect' function to work without making every page I include it in return a 500 response.

    After inspection it seems like the required plugin is not installed on the server. I would very much like to be able to access this feature. I have tried using versions 5.4 and 5.5 of PHP (restarting the server in between) - and neither of them have the plugin installed.

    Is it possible to install the 'sqlsr' plugin on an Azure Website?

    How else can I access my database?

    Wednesday, November 27, 2013 6:05 PM


All replies