Thursday, October 1, 2015

Connecting to MSSQL Server from Linux Web Server


It sometime sounds weird to get Linux web server connected with Mi***soft SQL Server database. But trust me, sometime you really need it badly like I do.

Let me show you these steps:

  • Prepare yourself the machine with apache web server installed on it. And of course you won’t miss PHP module. 
  • And then here you go:

     apt-get install libsybdb5 freetds-common php5-sybase 
     service apache2 restart

  • Check with phpinfo() function. 
Good luck!

No comments:

Post a Comment