I'm really stumped on this on. Trying to connect to a MS-SQL database with php on my mediatemple DV 4.0 server.
I was able to get it working on our DV 3.5 using these instructions
http://kb.mediatemple.net/questions/233/Using+%28remote%29+MS-SQL+databases+with+PHP+on+a+%28dv%29
But the same steps dont work on the 4.0.
I even tried installing FreeTDS and reinstalling the 64 bit version: freetds-devel-0.64-1.el5.rf.x86_64.rpm
and then i changed
[FreeTDS]
Description = v0.63 with protocol v8.0
Driver = /usr/lib/libtdsodbc.so.0 - changed to /usr/lib64/libtdsodbc.so.0
after i did that it go rid of all the errors I was seeing but I am still seeing
Warning: odbc_connect(): SQL error: [unixODBC][FreeTDS][SQL Server]Unable to connect to data source, SQL state S1000 in SQLConnect in /var/www/vhosts/housingworks.org/httpdocs/p/dbtest.php on line 9
this is where i am running the test: http://www.housingworks.org/p/dbtest.php
HELP!