sql server - Ubuntu PHP and sqlsrv_connect() -


i'm using class uses sqlsrv_connect() in php connect mssql database server, error:

fatal error: call undefined function sqlsrv_connect() 

i’ve done multiple install methods such as:

sudo apt-get install -y freetds-bin freetds-common tdsodbc odbcinst unixodbc php5-sybase 

restarted apache none of them seem solve problem of libraries being added. can give guidance on problem?

i'm using:

php 5.3.10-1ubuntu3.1 suhosin-patch (cli) (built: may  4 2012 02:20:36)  

linux based php not support sqlsrv_* functions. provided windows driver. freetds provide access old mssql_* functions.


Comments

Popular posts from this blog

jquery - Invalid Assignment Left-Hand Side -

java - Play! framework 2.0: How to display multiple image? -

asp.net mvc - Implementing normal user/pass, Twitter & Facebook auth -