FOR ARCHIVAL PURPOSES ONLY

The information in this wiki hasn't been maintained for a good while. Some of the projects described have since been deprecated.

In particular, the "Ushahidi Platform v3.x" section contains information that is often misleading. Many details about this version of Platform have changed since.

This website is an extraction of the original Ushahidi wiki into a static form. Because of that, functions like logging in, commenting or searching will not work.

For more documentation, please refer to https://docs.ushahidi.com

Skip to end of metadata
Go to start of metadata

The "AMP" (Apache, MySQL, PHP) Stack

To install and run SwiftRiver, the following software packages must be installed in your development or production environment:

  • PHP 5.3 or greater
  • Apache HTTP Server 2.x
  • MySQL Database Server 5.1 or greater

Apache Modules

SwiftRiver is bundled with a .htaccess file that contains URL rewriting rules. For these rewrite rules to be honored, Apache's mod_rewrite needs to be installed and enabled on your web server. The sections below outline how to enable mod_rewrite on OS X and Linux (Debian, Ubuntu and CentOS)

CentOS and OS X

Uncomment the following line in your httpd.conf

Debian/Ubuntu

Run the following command from the shell prompt:

Restart your web server for the changes to take effect.

Required PHP Extensions

In addition to the software packages outlined above, the following PHP libraries MUST be installed and enabled in your PHP configuration file (php.ini)

  • cURL for accessing remote sites
  • OpenSSL for secure communication
  • MySQL for database access
  • mcrypt for cryptography services
  • PCNTL for processing control
  • GD for image processing

The sections that follow outline how to install the required extension on OS X and Linux (Ubuntu, Debian and CentOS)

OS X Installation via MacPorts

Restart Apache:

Debian/Ubuntu Installation

Restart Apache:

or:

CentOS (and other RPM-based distributions) Installation via Yum

Restart Apache: