Hi,

        I am Dipesh from Iqara Broadband. I am just now trying to configure the
Freetds with PHP on Red Hat Linux 7.2

        I have configured PHP with all options including Sybase as it is shown
below;

'./configure' '--with-apxs=/usr/local/apache/bin/apxs'
'--with-sybase=/usr/local/freetds0.53/' '--with-odbc' '--with-mysql'
'--with-ldap' '--with-pgsql'
'--with-oci8=/home/oracle/m01/app/oracle/product/8.1.7/' '--with-gbdm'
'--enable-dbase' '--enable-calendar' '--enable-bcmath' '--enable-filepro'
'--enable-track-vars' '--enable-force-cgi-redirect'

        as it should be.

        All other databases like mysql, Oracle and pgsql are successfully tested
from php. but the problem is with MS SQL server.

        Through the utility tsql provided by freetds we can manually connect to the
SQL server by providing the user name and password

        But when I am writing a php script like

        $connect = mssql_connect("172.16.3.36","dips","dips") or die("\ncant
connect");

        then it can't connect and the error in the log is saying that Connection is
refused.

        Kindly help if u know anyting regarding this.


Regards,
Dipesh


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to