Welcome Guest, Not a member yet? Register   Sign In
sqlsrv_connect() problem
#4

If sqlsrv_connect is not defined, the Microsoft driver is either not installed or not loading properly. The function is provided by the Microsoft driver.

The same goes for mssql_connect, except that it is a command provided by a completely different driver which is not available in more recent versions of PHP anyway.

Microsoft's documentation for the sqlsrv driver includes information on configuring it to load when PHP starts and confirming that it is loading properly in your environment: https://msdn.microsoft.com/en-us/library...05%29.aspx
Reply


Messages In This Thread
sqlsrv_connect() problem - by microchip - 03-26-2015, 07:23 AM
RE: sqlsrv_connect() problem - by mwhitney - 03-26-2015, 10:22 AM
RE: sqlsrv_connect() problem - by microchip - 03-27-2015, 12:49 AM
RE: sqlsrv_connect() problem - by mwhitney - 03-27-2015, 06:39 AM
RE: sqlsrv_connect() problem - by umittas2000 - 01-26-2016, 03:45 AM



Theme © iAndrew 2016 - Forum software by © MyBB