Installation Instructions

Requirements

Ismo_Core requires PHP 4.1.0 or later. Although it’s recommend that either 4.2.x or 4.3.x is used. Also the following PEAR package are needed:

  • Date version >= 1.3
  • HTTP version >= 1.2 [mandatory]
  • Log version >= 1.6.0
  • PEAR version >= 1.0.1 [mandatory]
  • Validate version >= 0.1.1

If you don’t install all you have to be aware that you might get errors when trying to use parts which depend on one or more of the packages you didn’t install.

Installing the PEAR package

This is the easy and prefered way. First make sure that the needed PEAR packages are installed.

  $ sudo pear config-set preferred_state devel
  $ sudo pear install Date
  $ sudo pear install Log
  $ sudo pear install Validate

Then install the Ismo_Core PEAR package.

  $ sudo pear install
     http://easynews.dl.sourceforge.net/sourceforge/ismo/Ismo_Core-0.1.4.tgz

Where <version> is changed to the latest version. And it should be on the same line, I broke it up here to avoid extra long lines. If you’re instead upgrading your version of Ismo_Core you should use pear upgrade instead of pear install.

This will download and install the package for you. You can also change the SourceForge mirror that is used by changing the beginning of the URL or you can download the file manually from the Ismo project’s file section on SourceForge. The files ending with PEAR.tgz are PEAR packages, so that’s what you want to download.

If you download the PEAR package by yourself use the following command to install it (in a shell or command prompt).

  $ sudo pear install 
      /path/to/the/downloaded/Ismo_Core-<version>-PEAR.tgz

It should all be on the same line and change <version> to match the version you downloaded. Change pear install to pear upgrade if you’re upgrading your Ismo_Core version and not installing it for the first time.

* If you don't have root access

It is possible to have your own PEAR tree by doing.

  $ pear config-set php_dir /my/pear/tree

And then you can install packages as a non-root user with the normal:

  $ pear install PEAR
  $ pear install .....

How to install Ismo_Core as an independent package

It is possible to use Ismo_Core without installing it through the use of the pear command. This however either requires that the needed PEAR packages are installed or downloaded and put in the PHP‘s include path.

After that download the Ismo_Core-<version>.tar.gz or .zip file and then extract it somewhere and add it to PHP‘s include path.

 
docs/installation.txt · Last modified: 2006/04/27 20:11
 
Recent changes RSS feed Creative Commons License Donate Powered by PHP Valid XHTML 1.0 Valid CSS Driven by DokuWiki