How to make a sql-server 2008 connection in php when it is already on a web host?

0

I already made a connection to sql server from xammp and it works perfect, the question is how should I change the connection parameters to access from a web host on the internet? what ports should I open or what ip should I put? I hope you can help me.

    
asked by Eduardo Ivan 06.11.2018 в 05:24
source

1 answer

0

First of all, I apologize that you answer here and not in the comment that you have put, I do not have enough reputation. In the port, as I remember, I have always left empty because it is normally filled automatically, the IP that the Host gives you for the database goes to Host, database or IP, I do not know what name it will have in your file.

Greetings.

    
answered by 06.11.2018 в 08:59