connecting to remote mssql

mattlovell

Verified User
Joined
Aug 21, 2005
Messages
23
Anyone out there got a clue how I can do this?

I have been pulling my hair out reading about freedts etc

I have tried to install freedts but cannot configure php
this simple instruction
http://www.freetds.org/userguide/php.htm
when using da configure.php

I get this error
/usr/bin/ld: cannot find -lltdl
collect2: ld returned 1 exit status
make: *** [libphp4.la] Error 1

so mssql_connect nor odbc_connect all through errors

I have tried with limited success installing DBI:Sybase

I have make a reasonable .pl script which works!!!!
But only as root
and only if I declare in command line the LD_LIBRARY_PATH

running the same script via a browser (even after allowing cgi
with Options +ExecCGI in an .htaccess file)

I just get a 500

I have spent so much time on this it making me weap. If anyone has got a linux box with da working with mssql please please please let me know! I'd prefer to use php instead of perl. I know how to do it on a windows box!

A thousand thanks

Matt
 
Search for pdo extensions.

This are future into connecting to databases, even to mssql.

Now support for pdo is by default on latest php releases, you just need to add dblib extension, which will be for mssql.
 
Back
Top