PHP is a popular scripting language that is used mainly for generating dynamic web pages. The PHP interpreter takes PHP code as input and produces web pages as output. It can be used as standalone but more often than not, it is deployed on a server.
The following topic is addressed here:
To enable PHP, deploy the Quercus PHP interpreter to the Enterprise Server as a web module.
Download the Quercus PHP interpreter from http://quercus.caucho.com/.
Deploy the downloaded WAR file to the Enterprise Server.
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.
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/
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/ |
For more information, documentation and examples see the Quercus PHP interpreter.