History: Requirements
Preview of version: 39
This page lists the requirements for installing Tiki.
Table of contents
Requirements
Webserver
TikiWiki can run on any webserver (such as Apache) that supports PHP and meets the following recommended requirements:
- 128MB RAM
- 60 megs free storage
Database
TikiWiki requires an active database connection. The database can be installed in the same physical location of the webserver (localhost). TikiWiki supports the following databases:
- MySQL 4.0.x (or higher)
- For MySQL 4.1.x, you must use Tiki 1.9.x
- Postgres
- Oracle
- Sybase
- MSSQL
PHP
TikiWiki requires PHP 4.1+, version 4.2+ is recommended For PHP 5.0, you must use Tiki 1.9.1 (or higher) with the MySQLi extension.
We recommend using the following configuration in your php.ini file:
PHP.INI setting | Description |
memory_limit = 16MB | Specify the maximum memory for PHP scripts. We recommend 16MB as a mimimum. For best performance, use 32MB. |
file_uploads = On | Required to allow uplaods (files, images, etc.) to your Tiki |
upload_max_filesize = XXM | Specify the maxium upload filesize (in MB). |
allow_url_fopen = On | Allow trackback pings in your Tiki blogs. |
session.save_handler = files session.save_path = /tmp | The path that PHP stores session information. Ensure that the location exists and is writable. In Shared Hosting environments, if you do not have access to /tmp, use temp (no slash) instead. |
max_execution_time = 60%%%max_input_time = 60 | Specify the idle timeout (in seconds). If you experience timeouts (such as when performing Admin functions) you may need to increase these settings. |
magic_quotes_gpc = Off | Turn off PHP's Magic Quotes function. |
default_charset = "utf-8" | Specify the default charcter encoding. |
The location of the php.ini file may vary, depending on your operating sytem. Some common locations include:
- /etc/php.ini
- /etc/php/php.ini
- /etc/php4/php.ini
- /etc/php/apache1-php4/php.ini (Gentoo)
- /etc/php/cli-php4/php.ini (Gentoo)
- /etc/php4/apache2 (Debian)
Notes:
- PHP 4.1.2 has a known session bug and should not be used.
Optional Software or Libraries
Some TikiWiki feautures require the following additional software or libraries:
Feature | Additional Requirements |
Image processing, used for thumbnail generation, dynamic chart generation, and to prevent bot/automatic registration. | Use either GD Library 1.5 (or higher) or ImageMagick. ImageMagick is included, by default with PHP 4.3+ |
WikiGraph for creating and manipulating graphs. | GraphViz |
Webmail | PHP 4.2+ |
PDF Genration | php-xml |
Manage and display maps as a GeoCMS (Geospastial Content Management System). | Mapserver 4.6+ |
Rewrite Tiki's default URLs | Use the Apache Rewrite Rules to create shorter, or custom, URLs. |