You are viewing a plain text version of this content. The canonical link for it is here.
Posted to stonehenge-dev@incubator.apache.org by "Drew Baird (Volt)" <a-...@microsoft.com> on 2009/05/18 19:27:18 UTC
Remote db connection: Linux SH/PHP - > Windows MSSQL
I am trying to get a Linux/Stonehenge box to talk to a Windows erver2008 MSSQL.
I am now running Fedora10. I have a Apache/Php working and the MSSQL driver installed.
My PhpInfo() works and shows MSSQL installed
I have tried the mssql_connect and odbc_connect APIs so far to test my remote data base connection before I went further without any luck.
Has anyone used the Linux/PHP-MSSQL? Did you have to do any ODBC configuration to make yours work?
Thanks!
Drew
Re: Remote db connection: Linux SH/PHP - > Windows MSSQL
Posted by Chintana Wilamuna <ch...@gmail.com>.
On Tue, May 19, 2009 at 12:57 AM, Drew Baird (Volt)
<a-...@microsoft.com> wrote:
> I am now running Fedora10. I have a Apache/Php working and the MSSQL driver installed.
> My PhpInfo() works and shows MSSQL installed
Assuming you installed this by,
# yum install php-mssql
> Has anyone used the Linux/PHP-MSSQL? Did you have to do any ODBC configuration to make yours work?
In resources/conf/database_config.xml change the comma to a semicolon
for the <server> entry. Then everything worked for me as expected.
Bye,
-Chintana
--
http://engwar.com/