phpSiteFramework Installation

Requirements

phpSiteFramework's core is procedural PHP so any server running better than PHP 4.x should be OK.
The tested environment, however, is current Apache (2.0.5) and PHP (5.0.3-5.0.5) on Win32 (Server 2000).
You will optionally need Cache_Lite if you wish to use caching.

Pre Installation

A standard install of:

OK, lets do a basic installation of SF onto a Win32, Apache2, PHP5 machine without cache functionality.

Installing phpSiteFramework

Installing SF consists of the following steps:

Configure the SF root and _SF_modules directories

Make a new directory in the web server document root (or choose the root); this is where SF's modules and your content structure will reside. For our example lets use '/testsite/'

Configure Apache's httpd.conf for this directory by inserting:

<Directory [DocumentRoot]/testsite/>
    # No options are required for SF
    Options None
    # No overrides are required for SF
    AllowOverride None
    # .html files will be treated like .php files
    AddType application/x-httpd-php .php .html
    # this ensures all the SF modules are available in include path (fix the pear path for your installation)
    php_value include_path .;c:\php5\pear;[DocumentRoot]\testsite\_SF_modules
    # these are the auto append pre-pend directives
    php_value auto_prepend_file "SF_autoprepend.php"
    # these are optional and recommended during development
      # php_flag display_errors  On
      # php_value error_reporting 2047
</Directory>

Make a directory in your new 'sf root' (e.g /testsite/) to contains SF's modules. For our example lets use '/testsite/_SF_modules'

Configure Apache's httpd.conf for the '/testsite/_SF_modules' directory by inserting:

<Directory [DocumentRoot]/testsite/_SF_modules/>
    # inherits everthing else from previous dir
    php_value auto_prepend_file none
    # A directory restriction is optional but recommended
# Order Deny,Allow
# Allow from locahost </Directory>

Install the SF files

Place the distribution ZIP into your new directory (/testsite/) and unzip.

Configure SF

Open file SF_mainconfig.php from _SF_modules directory for editing.

Edit the following values from the Site Framework (SF) Main Configuration Settings found near the top of the file.
Change the values to what you wish, for our installation example something like:

$SF_sitewebpath="/testsite/";
$SF_sitetitle='SF Test Installation';

onto Installation - Optional


Updated: 26Oct2005

phpSiteFramework: Home | Documentation | Installation

[Skip to content]  [ Text only]  [Accessibility]  [Sitemap]

Image["SF Logo (home page link)"]
phpSiteFramework

You are:   Home :: Documentation :: Installation

Home

About

Download

Documentation

Installation

Installation - Optional

Operational Overview

Query Strings

Technical Docs

Swish-e PHP Tools

Licencing

Contact



Image["Creative Commons License"]


Image["CC-GNU GPL"]

[ Print]

The Fitzwilliam Museum, University of Cambridge.

phpSiteFramework powered