History: Requirements
Preview of version: 107
Requirements and Setup
This page lists the minimum requirements and recommended settings to install Tiki.
If you are using a standard shared webhost, your webhost most likely meets these requirements and you should be able to install Tiki with no problems. Tiki is designed to run on shared hosting, using the LAMP stack.
These instructions are useful for people that are configuring their own server for Tiki.
Table of contents
Shared Host
Tiki will run in most shared webhost environments. Many hosts offer Tiki installation via a control panel application (such as Fantastico).
You should verify that your webhost meets the minimum requirements:
See Tiki Friendly Hosts for a list of working shared host environments.
Requirements
Webserver
Tiki is developed and widely tested with Linux and Apache. However, Tiki should run on any webserver that supports PHP, like Windows/IIS, lighttpd etc. but you should expect to need to tweak things. Please see the Windows compatibility project.
Your webserver should be configured with the following minimal requirements:
- 512 MB RAM
- 100 MB free storage
MySQL
Tiki requires a MySQL 5 database.
The database can be installed in the same physical location of the webserver (that is, as localhost) or Tiki can access a remote database.
PHP
- Tiki3 (or later) requires PHP5 with the MySQLi extension.
- Tiki4 (or later) prefers PHP5 with the PDO extension.
If PDO is not available, you can revert to ADOdb. See ReleaseNotes40 for details. - Tiki5 prefers PHP 5.2.1 (primarily to access features in Zend libraries) with the PDO extension.
As with Tiki4, if PDO is not available, you can revert to ADOdb. See ReleaseNotes40 for details. - Tiki7 will require PHP 5.2.
To review your PHP Memory Limits, access http://www.yourdomain.com/tiki-phpinfo.php and review the following values:
- max_execution_time = 60 ; Maximum execution time of each script, in seconds
- max_input_time = 60 ; Maximum amount of time each script may spend parsing request data
- memory_limit = 32M ; Maximum amount of memory a script may consume
For some shared webhosts, these values may not be user-configurable and you may need to request changes from your webhost.
More information
Required Libraries | |
libxml must be enabled | http://us2.php.net/manual/en/ref.xml.php |
mbstring is a plus if you work with a language that needs it | http://us2.php.net/manual/en/ref.mbstring.php |
mbstring is required by zend_search_lucene, thus needed for searching in the admin panel, and for managing preferences in perspectives | |
ctype must be enabled for tw >=1.10 |
We recommend using the following configuration in your php.ini file:
PHP.INI setting | Description |
memory_limit = 32M | Specify the maximum memory for PHP scripts. |
file_uploads = On | Required to allow uploads (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. |
mbstring.func_overload = 0 | Will not work properly with mbstring.func_overload = 7 |
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)
- \windows\system\php.ini (Windows)
Notes:
- If safemode is on you can need safe_mode_allowed_env_vars = TZ in php.ini
- To run PHP5 on 1and1.com just put the following line in your _htaccess file (Tiki 3.X):
AddType x-mapp-php5 .php
AddHandler x-mapp-php5 .php
uncomment ligne 29 and 30 then rename in .htaccess
Optional Software or Libraries
Some Tiki 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+ |
Manage and display maps as a GeoCMS (Geospastial Content Management System). | Mapserver 4.6+ |
Rewrite Tiki's default URLs | Use the Apache Clean URLs to create shorter, or custom, URLs. |