on a Virtual Private Servers. The best way is to install the mod_php3
Apache Module. It can also be installed as a CGI to which
PHP3 files are redirected by your Virtual Private Servers web server.
NOTE: The latest version of PHP is PHP4.
To install the PHP3 CGI, connect to your Virtual Private Servers
via Telnet or SSH
and do the following.
Install the PHP3 CGI by doing the following, according to
your Virtual Private Servers O/S:
Run the following command, substituting a version of PHP3
% vinstall PHP3_VERSION
These versions of PHP3 are available:
php php-mysql php-pgsql php-msql
PHP3 is unavailable. Try PHP4.
Make the following additions and modifications to your Virtual
Private Servers web server configuration file (~/www/conf/httpd.conf).
line so that index.php3 files will be included as
DirectoryIndex index.php3 index.cgi index.html index.htm
Add the following lines so that all files with .php3
and .phtml extensions will be redirected to the PHP3
AddType application/x-httpd-php3 .php3
AddType application/x-httpd-php3 .phtml
Action application/x-httpd-php3 /cgi-bin/php
To test your PHP installation, try creating the following
~/www/htdocs/test.php3 document and viewing it in your
function reports the version number, as well as the features
that are compiled into PHP.
Toll Free 1-866-GSP-4400 • 1-301-464-9363 • firstname.lastname@example.org
Copyright © 1994-2016 GSP Services, Inc.