[unixODBC-dev] MSSQL / DEBIAN / PHP4

ZIGLIO, Frediano, VF-IT Frediano.Ziglio at vodafone.com
Wed Sep 1 14:43:41 BST 2004


> 
> Hi,
> I got the following Problem :
> 
> I want to access from a Debian Machine/SID a MSSQL 7.0 DB (MS-NT40).
> 
> I installed the ADOdb/freetds-dev/unixodbc Stuff, made with 
> odbcinst conf files after that and i could manually connect 
> (xterm) to the MSSQL DB and i can choose f.e. the Database .. 
> use db;. I use protocol version TDS 7.0
> 
> My Problem is that i don`t have access with php4 !
> I tried odbc_msql and odbc only ...
> 
> - is the odbc.ini File the only necassary config file ?
> - i got odcb/sybase support compiled in php - is that enough ?
> - do i have to change the MS SQL Server config ?
> - With Excel / win Odbc the Connect is working
> - is it a Problem to use Apache 1.3... and not 2.xx
> 
> when you need detailed code to get the problem - i can mail 
> tomorrow ...
> 

Try to configure odbc.ini and than use isql to try connection. If this
works it can be a problem with environments (perhaps your php script do
not that odbc.ini).

freddy77




More information about the unixODBC-dev mailing list