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.
I would like to include all Apache modules on my test environment; you may reduce these modules by using different parameters with the configure command (to understand these parameters, please refer to Apache documentation after installation, or read it online http://httpd.Apache.org/docs-2.1/). It is a good idea to compile and install all the modules; however, at run time, only load the modules your web server needs (how to configure Apache modules at run time, please refer the Apache document with this installation or read it online).
Make sure there is no error after you run the above command. Most errors come from your missing some development components when you install Red Hat 9.0, you can install these missing components through the “Add/Remove Applications” applet mentioned at the beginning of the this article, then come back to rerun above command until there are no errors.
To compile your module tree, issue the following command:
This command usually takes a while to finish all the steps (first it will compile all selected modules then link them with libraries). Make sure there are no error messages. (there may be some warning message while compiling, but that’s OK).
To install the Apache Web Server, issue:
After this step, you can see a new folder /usr/local/Apache2. This is where our Apache Web Server is installed.
Testing your new installation and making it start as a service: Before we test the new installation, we need some post-installation setup. To edit the Apache configuration file, issue:
search for ServerAdmin and ServerName key words, you will see something like this: