I am trying to connect to a remote MSSQL server using the PHP exec(). I have shell access on the PHP server but not the ability to edit the server. The server does not have the correct PDO drivers or mssql_connect(). The only available option seems to be to run the remote query via exec(), unless someone else knows a way.
I have the remote MSSQL location and it is open on port 1433. I normally work with MySQL and am not familiar with MSSQL.