Sunday, April 27, 2008

Using PHP on Sun Java System Web Server 7.0

Joe McCabe has posted an interesting article over on developers.sun.com about the various ways to get PHP up and running on “Sun Java System Web Server”. Here’s the opening section to wet your appetite.

PHP (PHP: Hypertext Preprocessor) is a widely used scripting language suited to creating dynamic web-based content. It is popular due to its simplicity, accessibility, wide number of available modules, and large number of freely available applications.

Sun Java System Web Server is a mature, highly scalable, and secure web server that provides process redundancy, request scalability, and a wide range of application programming interfaces (APIs) to create and serve dynamic content.

This document describes how to install and use PHP with Sun Java System Web Server (hereafter Web Server).

The article is broken down into the following 7 sections.

  • Understanding PHP and Web Server
  • Running the PHP Engine
  • Installing the PHP Engine as a CGI Program
  • Installing the PHP Engine as a FastCGI Server
  • Installing the PHP Engine as an NSAPI Plugin
  • Conclusion
  • References

This article is written for those who may be marginally familiar with Sun Java System Web Server but are new to PHP. It covers in details the steps necessary to get PHP up and running. There are tables comparing the pros and cons of each method of using PHP (CGI, FastCGI and Plugin) so that you can make an intelligent guess at which method is best for you before you start installing.

Joe concludes his tutorial with this quote.

The scalability of Sun Java System Web Server combined with the versatility of the PHP engine affords a high-performance web deployment platform for dynamic content. The combination delivers the stability required by the most demanding web sites and the versatility that an increasing number of web developers demand.

No comments: