Exit Print View

Sun GlassFish Enterprise Server v3 Scripting Framework Guide

  This Document Entire Library
Print View

Document Information

Preface

1.  Using JRuby on Rails With Sun GlassFish Enterprise Server

2.  Developing Grails Applications

3.  Jython on Django

4.  Scala and Lift

5.  PHP

Enabling PHP on Sun GlassFishEnterprise Server

To Deploy the Quercus PHP Interpreter to the Enterprise Server

Enabling PHP on Sun GlassFishEnterprise Server

To enable PHP, deploy the Quercus PHP interpreter to the Enterprise Server as a web module.

To Deploy the Quercus PHP Interpreter to the Enterprise Server

  1. Download the Quercus PHP interpreter from http://quercus.caucho.com/.

  2. Deploy the downloaded WAR file to the Enterprise Server.

  3. To verify that your PHP engine is working, enter the following into your browser:

    http://localhost:8080/quercus-4.0.1/

    This is the default PHP script that is available in the Quercus interpreter.

  4. The Quercus application directory is located at domain-dir/applications/quercus-4.0.1/. Move your PHP application to a subdirectory of the Quercus directory. For example:

    as-install/domain-dir/applications/quercus-4.0.1/myapp/

  5. To verify your PHP application is working, access your application from browser. For example, enter the following into your browser:

    http://localhost:8080/quercus-4.0.1/myapp/
See Also

For more information, documentation and examples see the Quercus PHP interpreter.