PHP与Azure数据库 [英] PHP with azure database

查看:168
本文介绍了PHP与Azure数据库的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我试图让Azure数据库和PHP之间的连接。我才知道,我需要在服务器上安装驱动程序SQLSRV

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

是否可以在Linux上安装驱动程序SQLSRV / ubuntu.Please给你的支持。

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

有没有在Linux上蔚蓝的数据库和PHP之间的连接的替代方法。

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

问候

推荐答案

另一种方法是使用的OData从PHP访问您的SQL Azure的(或Azure Table中存储)的数据。不知道PERF的差异是什么,但你会能够避免你的灯箱安装数据库驱动程序。

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.$c$cplex.com/

这篇关于PHP与Azure数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆