duandaotui5633 2017-08-14 10:49
浏览 141

使用php / laravel访问内部MSSQL数据库

I make a small php-website for a company and have to access the internal MSSQL database. The sqlsrv driver for php are installed. I can connect in the internal network structure to the Database.

The network structure looks like this:

Internet ---> Firewall ---> Server Farm(in this server farm)

  1. Server1: WinGate Proxy Server
  2. Server2: MSSQL
  3. Server3: Print Server
  4. Server4: Exchange Server
  5. Server5: Domaincontroller1
  6. Server6: Domaincontroller2 enter image description here

I hope i made a good to understand template. Everthing is working on Windows. There is a static ip. What is the best way to access the database with php ? Can i access it remotely ? What is the best practice for this problem.

  • 写回答

0条回答 默认 最新

    报告相同问题?