开发者

PHP with azure database

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


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


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/

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜