Previous Up Next
PEAR Installer Installation Configuration

Manual Install

How to install Mach-II for PHP manually

Alan Richmond
Copyright 2004 Ben Edwards, Inc.

Manual Install

Mach-II may be installed in PHP's include_path (step 2a), in the web document root (step 2b) or any directory with an entry file (index.php).

Step 1

Download the Mach-II core from it's package description page. All public releases are available here.

Or direct download the latest stable version: http://php.mach-ii.com/get/MachII-stable

Step 2a

Create a directory called MachII in a directory that is in your PHP include_path. The MachII directory itself should NOT be in the include_path definition. For example, if the MachII directory is located at /path/to/MachII, include_path should have an entry of /path/to.

Skip to step 3.

Step 2b

Create a directory called MachII directly under your web root. If your webroot is "htdocs", your path would look like /path/to/htdocs/MachII.

Skip to step 3.

Step 3

Open the package, MachII-x.x.x.tgz, downloaded in step 1 and extract the contents of the MachII-x.x.x directory to the MachII directory created in step 2.

You should have a directory structure like this:

path/
    to/
        MachII/
            cache/
            data/
            docs/
            filters/
            framework/
            locale/
            plugins/
            tests/
            util/
            MachII.php
            mach-ii.php

Note: PEAR installs will have a slightly different directory structure; some of the directories will be installed in repository specific directoies.

You are ready to installtest.pkg your Mach-II installation!

Previous Up Next
PEAR Installer Installation Configuration

Documentation generated on Thu, 20 Jan 2005 10:47:24 -0800 by phpDocumentor 1.3.0RC3