MS SQL Server Concepts and Programming Question:

Download Job Interview Questions and Answers PDF

What Are the Requirements to Use ODBC Connections in PHP Scripts?

MS SQL Server Interview Question
MS SQL Server Interview Question

Answer:

If you are planning to use ODBC connections to access SQL Server databases in PHP scripts, you need to check the following requirements:

* The PHP engine must support ODBC functions. If you install PHP 5.2.2 from The PHP Group, the ODBC functions are already included in the default installation.
* The SQL Server must have TCP/IP protocol enabled for a specific port.
* The SQL Server Browser Service must be running on the SQL server machine.
* An ODBC DSN must be created on machine where you are running PHP scripts.
* The ODBC DSN connection must be tested to make sure it is working.

You need to following other tutorials provided by GlobalGuideLine.com to install PHP engine, install SQL Server, configure TCP/IP protocol, start SQL Server Browser Service, create and test ODBC DSN connections.

Download MS SQL Server Interview Questions And Answers PDF

Previous QuestionNext Question
How Can Windows Applications Connect to SQL Servers via ODBC?What Are Commonly Used ODBC Functions in PHP?