Installing GOPHER and GopherPHP

Prerequisites

The GOPHER styles consist of standard CSS files and associated HTML page templates, and can be used on any Web server (or even with plain disk files). The GopherPHP framework requires a recent version of PHP to be installed on the Web server, which must be configured to allow .php pages in the main directory of the GopherPHP Web site. Personal Web pages hosted by commercial providers are usually compatible with the GopherPHP framework and do not require special configuration.

Installation instructions

Obtain the ZIP archive for GOPHER version 1.1 from the downloads page, and unpack it in a suitable directory on your Web server. If you only want the GOPHER styles, it is sufficient to copy the css/ subdirectory and the appropriate HTML template (gopher_template.html, gopher_template_multi.html or gopher_template_multi_rgb.html), which shows how to include a GOPHER style and use its special formatting options.

In order to use the GopherPHP framework, adjust the site configuration in php/gopher_config.xml and replace the included documentation pages with your own Web pages. The data/ folder contains files used by the GOPHER Web site and can be deleted. Check the documentation section for more information about the GopherPHP framework, the GOPHER styles, and customisation options.

Upgrading an existing installation

To upgrade an existing GopherPHP site, it is usually sufficient to replace the css/ folder and the PHP library php/gopher.inc with the new versions. Possibly incompatible changes in other files and the necessary modifications are always indicated on the versions & changes page.