Blue Reef Technical Support Blue Reef Virtual Server Reseller ProgramInstallation instructions, manuals, how-tos, and more!About Blue Reef Consulting, Inc.

About Blue Reef Virtual ServersEcommerce Solutions for your Virtual ServerSearch the Blue Reef Virtual Server web site
Return to Blue Reef Virtual Servers Home Page
Order virtual servers, software, computers, and more!
Return to Blue Reef Main Home Page
Specials
Site Map
Support Solutions to help you do business with your Virtual Server.



Blue Reef Virtual Servers
Support Menu
Advanced Support Topics
Advanced Topics Overview
Dynamic ModulesDynamic Modules
Installing Apache ModulesInstalling  Apache Modules
Installing Perl ModulesInstalling Perl Modules
Installing Java ModulesInstalling Java Modules
Installing PHP 3 Dynamic Module
Installing PHP 4 Dynamic Modules
Request help using our Problem Tracking System
Order a Blue Reef Virtual Server now!


Installing PHP3 as a Dynamic Module

There are two different ways to install PHP3 v3.0.12 on a Virtual Server. The best way is to install it as a Dynamic Module. It can also be installed as a CGI to which PHP3 files are redirected by the web server.

Dynamic Module Installation
Connect to your Virtual Server via Telnet or SSH and do the following:
  1. Install the PHP3 dynamic module on your Virtual Server. Substitute the name of the dynamic module you want to install for MODULE-NAME below.

      % cd /usr/local/apache/1.3/modules
      % ln MODULE-NAME ~/www/modules/MODULE-NAME

    Currently, these PHP3 dynamic modules are available:
      
      No database support
      mod_php3-3.0.16-module.so
      mod_php3-3.0.16-module-imap.so
      mod_php3-3.0.16-module-ftp-imap-freetype-gd.so
      mod_php3-3.0.16-module-mcrypt-freetype-gd.so
      mod_php3-3.0.16-module-mcrypt-ftp-imap-freetype-gd.so
      mod_php3-3.0.16-module-mcrypt-ftp-imap.so
      
      mSQL database support
      mod_php3-3.0.16-module-msql.so
      mod_php3-3.0.16-module-msql-imap.so
      mod_php3-3.0.16-module-msql-ftp-imap-freetype-gd.so
      mod_php3-3.0.16-module-msql-mcrypt-freetype-.so
      mod_php3-3.0.16-module-msql-mcrypt-ftp-imap-freetype-gd.so
      mod_php3-3.0.16-module-msql-mcrypt-ftp-imap.so
      
      MySQL database support
      mod_php3-3.0.16-module-mysql.so
      mod_php3-3.0.16-module-mysql-imap.so
      mod_php3-3.0.16-module-mysql-ftp-imap-freetype-gd.so
      mod_php3-3.0.16-module-mysql-mcrypt-freetype-gd.so
      mod_php3-3.0.16-module-mysql-mcrypt-ftp-imap-freetype-gd.so
      mod_php3-3.0.16-module-mysql-mcrypt-ftp-imap.so
      
      PostgreSQL database support
      mod_php3-3.0.16-module-pgsql.so
      mod_php3-3.0.16-module-pgsql-imap.so
      mod_php3-3.0.16-module-pgsql-ftp-imap-freetype-gd.so
      mod_php3-3.0.16-module-pgsql-mcrypt-freetype-gd.so
      mod_php3-3.0.16-module-pgsql-mcrypt-ftp-imap-freetype-gd.so
      mod_php3-3.0.16-module-pgsql-mcrypt-ftp-imap.so
  2. Add the following line to the top of your Virtual Server web server configuration file (~/www/conf/httpd.conf) to dynamically load the PHP3 dynamic module. Substitute the name of the dynamic module you want to install for MODULE-NAME.

    LoadModule php3_module modules/MODULE-NAME

  3. Make the following additions and modifications to your Virtual Server web server configuration file (~/www/conf/httpd.conf).

    1. Modify the DirectoryIndex line so that index.php3 files will be included as directory indices

      DirectoryIndex index.php3 index.cgi index.html index.htm

    2. Add the following lines so that all files with .php3 and .phtml extensions will be redirected to the PHP3 dynamic module.

      AddType application/x-httpd-php3 .php3
      AddType application/x-httpd-php3 .phtml

SEE ALSO:

About PHP3

Installing PHP3 as a CGI

PHP4

About the Apache Web Server

About Apache Dynamic Modules

Installing Apache Modules

Installing mod_perl

Installing mod_jserv

Add-on Help


Recommended Web Server Books

BOOKS TO HELP YOU:


Writing Apache Modules with
Perl and C

$31.96


Apache: Web Server Directives Guidebook

$15.95


Amazon.com logo
Search for :
Enter keywords...


Internet Magazines




[ SERVERS | ECOMMERCE | SUPPORT | SPECIALS | SEARCH | SITE MAP | ORDER]

[ HOME | CONTACT US | ABOUT US | PRIVACY | LEGAL ]
© Copyright 1998 - 2000 Blue Reef Consulting, Inc. All Rights Reserved.
Comments or questions about this web site? Write to webmaster@bluereef.net.