For the linux version of PHP you can install freetds (freetds.org) and use the --with-sybase=/path/to/freetds and that will make SQL server connections with the sql functions possible. For the windows version, simply uncomment the line that says something like extension=mssql70.dll.