I've developed a web application in php that connects to an azure sql database using sqlsrv_connect()
. This is a function from the SQLSRV driver by Microsoft. The application runs great locally (Using the azure database). I can select, insert and delete data perfectly fine.
However, I now want to put the application in my live environment. When I do this I get the following error:
Fatal error: Call to undefined function sqlsrv_connect()
Which is logical because I did not install the SQLSRV extension in my hosting environment. I can find no explanation on how to do this, this leaves me with the question is it even possible to do this? If so can you help me with that, if not what is my alternative?