Unable to access SQL Azure Database from Visual Studio Azure PHP Solution

May 21, 2010 at 7:55 AM
Edited May 21, 2010 at 7:58 AM

I am able to access my SQL Azure Database from the PHP page using the WAMP server. But if i copy this in the Visual Studio Azure PHP solution i get the followiung error .. Any suggestions ? pl. help..

 

Fatal error: Call to undefined function sqlsrv_connect() in C:\PHP\bin\Debug\mT.csx\roles\mT_WebRole\approot\conn1.php on line 29

 

Please note: I am Using the PHPSQLAZURE Driver Version 1.1  

Coordinator
May 21, 2010 at 9:31 AM

Does the VS solution contain a /php folder with php.ini where the module is enabled?