Home arrow PHP arrow Page 2 - Executing Microsoft SQL Server Stored Procedure from PHP on Linux

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.

Author Info:
By: Jack Zhang
Rating: 4 stars4 stars4 stars4 stars4 stars / 33
October 20, 2003
  1. · Executing Microsoft SQL Server Stored Procedure from PHP on Linux
  2. · Preparation
  3. · Installing the Apache Web Server
  4. · Installing the Apache Web Server, Cont'd
  5. · Installing FreeTDS
  6. · Modify the PHP Source Code
  7. · Modify the PHP Source Code, Cont'd
  8. · Executing MS SQL Server Procedures from PHP
  9. · Conclusion

print this article

Executing Microsoft SQL Server Stored Procedure from PHP on Linux - Preparation
(Page 2 of 9 )

First, we’ll prepare the source code that we are going to compile in this article.  I will be using all of the latest versions of Red Hat Linux, Apache, PHP and FreeTDS.

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.

blog comments powered by Disqus

- Removing Singletons in PHP
- Singletons in PHP
- Implement Facebook Javascript SDK with PHP
- Making Usage Statistics in PHP
- Installing PHP under Windows: Further Config...
- File Version Management in PHP
- Statistical View of Data in a Clustered Bar ...
- Creating a Multi-File Upload Script in PHP
- Executing Microsoft SQL Server Stored Proced...
- Code 10x More Efficiently Using Data Access ...
- A Few Tips for Speeding Up PHP Code
- The Modular Web Page
- Quick E-Commerce with PHP and PayPal
- Regression Testing With JMeter
- Building an Iterator with PHP

Watch our Tech Videos 
Dev Articles Forums 
 RSS  Articles
 RSS  Forums
 RSS  All Feeds
Write For Us 
Weekly Newsletter
Developer Updates  
Free Website Content 
Contact Us 
Site Map 
Privacy Policy 

Developer Shed Affiliates


© 2003-2019 by Developer Shed. All rights reserved. DS Cluster - Follow our Sitemap
Popular Web Development Topics
All Web Development Tutorials