0

I am trying to make connection between azure database and php. I come to know that i need to install sqlsrv driver on server.

Is it possible to install sqlsrv driver on linux/ubuntu.Please give your support.

Is there any alternate method to make connection between azure db and php on linux.?

Regards

2 Answers 2

1

a great article :

he SQL Server Driver for PHP allows PHP developers to access SQL Server databases that are hosted on SQL Server or SQL Azure. The SQL Server Driver for PHP relies on the Microsoft SQL Server ODBC Driver to handle low-level communication with SQL Server. As a result, the SQL Server Driver for PHP is only supported on Windows and Windows Azure. It can be downloaded and installed as a PHP extension

Sign up to request clarification or add additional context in comments.

Comments

1

Another approach would be to use OData to access your SQL Azure (or Azure Table Storage) data from PHP. Not sure what the perf differences would be, but you'd be able to avoid installing the database driver on your LAMP box.

http://odataphp.codeplex.com/

1 Comment

I was really excited when I found this unfortunately Microsoft has seemed to have stoped odata access to azure for now microsoft.com/en-us/sqlazurelabs/labs/odata.aspx

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.