CSWS_PHP
for Compaq Secure Web Server for OpenVMS AlphaInstallation Guide and Release Notes
CSWS_PHP Version 1.0
CPQ-AXPVMS-CSWS_PHP-V0100--1.PCSIOn this page you'll find information about:
Software prerequisites
Documentation
Installing CSWS_PHP for OpenVMS
Removing CSWS_PHP for OpenVMS
Release notes
CSWS_PHP Version 1.0 runs with Version 1.2 of the Compaq Secure Web Server for OpenVMS Alpha. CSWS_PHP V1.0 is based on the PHP 4.0.4PL1 build.
Software Prerequisites
The CSWS_PHP kit requires that the following software is installed before you install CSWS_PHP:
- OpenVMS Alpha Version 7.2-1 or higher
- Compaq Secure Web Server V1.2 for OpenVMS Alpha
Documentation
For more information about PHP, see http://www.php.net/.
Installing CSWS_PHP for OpenVMS
To install the CSWS_PHP for Compaq Secure Web Server for OpenVMS Alpha kit, enter the following command.
Note: You must install the CSWS_PHP kit into the same device and directory where you installed Compaq Secure Web Server for OpenVMS.
For example:
$ SHOW LOGICAL APACHE$ROOT "APACHE$ROOT" = "DISK1:[WEB_SERVER.APACHE.SPECIFIC.hostname.] = "APACHE$COMMON:" 1 "APACHE$COMMON" = "DISK1:[WEB_SERVER.APACHE.] $ PRODUCT INSTALL CSWS_PHP/DESTINATION=DISK1:[WEB_SERVER]For a description of the features you can request with the PRODUCT INSTALL command when starting an installation such as running the IVP, purging files, and configuring the installation, see the POLYCENTER Software Installation Utility User's Guide.
As the installation procedure progresses, the system displays the following information.
The following product has been selected: CPQ AXPVMS CSWS_PHP V1.0 Layered Product Do you want to continue? [YES] Configuration phase starting ... You will be asked to choose options, if any, for each selected product and for any products that may be installed to satisfy software dependency requirements. CPQ AXPVMS CSWS_PHP V1.0 Compaq Computer Corporation & The Apache Software Foundation. * This product does not have any configuration options. Execution phase starting ... The following product will be installed to destination: CPQ AXPVMS CSWS_PHP V1.0 DISK1:[WEB_SERVER.] Portion done: 0%..20%..30%..40%..80%..100% The following product has been installed: CPQ AXPVMS CSWS_PHP V1.0 Layered Product CPQ AXPVMS CSWS_PHP V1.0 Post-installation tasks are required for PHP for OpenVMS. The release notes give detailed directions. This information is a brief checklist. This installation modifies APACHE$ROOT:[CONF]HTTPD.CONF to enable MOD_PHP. Check HTTPD.CONF for accuracy. The line "Include /apache$root/conf/mod_php.conf" should be the only difference. Also study the MOD_PHP configuration file (APACHE$ROOT:[CONF]MOD_PHP.CONF) for options required for your site. The Apache server must be shut down and restarted to make these changes to HTTPD.CONF file take place. Test that MOD_PHP is working by accessing the sample script from a browser: http://<your web server host>/php/php_rules.php Thank you for using Apache for OpenVMS.After the installation is complete, shut down and restart the Compaq Secure Web Server.
Removing CSWS_PHP for Compaq Secure Web Server for OpenVMS
You can remove the CSWS_PHP kit by using the POLYCENTER Software Installation utility. The Compaq Secure Web Server must be shut down before you remove CSWS_PHP.
To remove CSWS_PHP, enter the following commands:
$ SET DEF APACHE$ROOT:[000000] $ @SYS$STARTUP:APACHE$SHUTDOWN $ PRODUCT REMOVE CSWS_PHPThe PRODUCT REMOVE command removes all files created by this installation. It also attempts to remove the directories defined by this installation.
Release Notes
This section contains notes on the current release of CSWS_PHP.
- Configuring CSWS_PHP not required
During the installation, the file
PHP_SETUP.COMis added to theAPACHE$ROOTdirectory, and an include for MOD_PHP.CONF is added to the end of HTTPD.CONF. When you start the Compaq Secure Web Server for OpenVMS,PHP_SETUP.COMis run and PHP is loaded into the server. You do not need to configure CSWS_PHP.
- PHP DNS functions supported only with Compaq TCP/IP Services for OpenVMS
This version of CSWS_PHP supports the CHECKDNSRR and GETMXRR functions only on systems using Compaq TCP/IP Services for OpenVMS. These functions may be supported with other TCP/IP products in a future CSWS_PHP kit.
- PHP LINK functions not supported
This version of CSWS_PHP does not support the LINK, LINKINFO, SYMLINK, and READLINK functions. These functions may be supported in a future CSWS_PHP kit.
- PHP script location
Place PHP scripts into the
APACHE$ROOT:[PHP.SCRIPTS]directory.