Executing Microsoft SQL Server Stored Procedure from PHP on Linux
Learn how to setup, install and configure Apache and PHP on a Linux box to execute MS SQL stored procedures. This extensive article takes you through an in-depth look on how to achieve your ideal environment.
Install Red Hat Linux 9.0 with all the necessary development packages (there is a good reason for a development box). After the installation of Red Hat 9.0, you can check or install these packages from “Add/Remove Applications” applet.
I prefer that you check all development modules (default selected packages are the numbers showing on the right/all packages).
Logon as root, make a folder on your hard drive called public, which you’ll use to save all your downloaded source code.
The next step, we will open a terminal window; unzip all these 3 files by issuing the following commands:
tar xvfz FreeTDS-0.61.2.tar.gz tar xvfz httpd-2.0.47.tar.gz tar xvfj php-4.3.3.tar.bz2
After you unzip them you can see 3 new folders appearing under your public folder.