Loading...
 
Skip to main content

History: Requirements

Preview of version: 137

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.


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

You must have a fully operational webserver in order to install and use Tiki. Tiki should run on any webserver that supports PHP (such as Windows IIS or lighttpd), but is most widely tested and used with Apache. You may need to make minor modifications for non-Apache webservers.

To simply installation on Windows IIs, Tiki is included in the Windows Web App Gallery and can be installed with the Microsoft Web Platform Installer. See Microsoft Web Platform installer for details.

Your webserver should be configured with the following minimum 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

Tiki Version PHP Version Notes
Tiki10 PHP 5.3 PHP 5.2.x reached end of life in December 2010, which is nearly two years before Tiki10 will be released
Tiki7, Tiki8 or Tiki9 LTS PHP 5.2 with the PDO extension If PDO is not available, you can revert to ADOdb. See ReleaseNotes40 for details.

If you can't get PHP 5.2, you can keep on using Tiki6 LTS (end of support for Tiki6 LTS is when Tiki10 is released)
Tiki5 or Tiki6 LTS PHP 5.1 with the PDO extension If PDO is not available, you can revert to ADOdb. See ReleaseNotes40 for details.

PHP 5.2 is preferred primarily to access features in Zend libraries and can be necessary for some of the newer features like WebDAV, however, globally, Tiki works with PHP 5.1
Tiki4 PHP5 with the PDO extension If PDO is not available, you can revert to ADOdb. See ReleaseNotes40 for details.
Tiki3 LTS PHP5 This is a Long Term Support (LTS). End of life is May 2011, where you should upgrade to Tiki6 LTS
Unable to load the jQuery Sortable Tables feature.


For all versions, MySQLi extension is recommended but the Tiki installer will fall back to the older MySQL driver if MySQLi is unavailable.

Note on PHP Memory Limits:

The default memory_limit in a standard PHP 5.3 installation is 128M, and this should be fine for the vast majority of Tiki installations. Some web hosts install PHP with a lower default. Although Tiki may appear to install successfully, you will continually face issues with pages failing to load and system errors.

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 = 128M ; 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, whereas in other hosts you are allowed to fine tune this settings for your needs. You can try uncommenting the corresponding lines in the .htaccess file at your tiki root folder on the server, like:

Copy to clipboard
# increase memory php_value memory_limit 128M # increase execution time... php_value max_execution_time 90


More information

Required PHP Functions

Some webhosts tend to disable some functions which are required for Tiki to run flawlessly.

Function Notes
eval() Required by Smarty templating engine.
Causes "Please contact support about" messages appearing instead of Modules when eval() is disabled in php.ini.
Unable to load the jQuery Sortable Tables feature.

Additional Libraries

Library Notes
libxml Required
http://us2.php.net/manual/en/ref.xml.php
mbstring Required by zend_search_lucene for Admin panel searching and managing preferences in perspectives.
Useful when working with languages that require it
http://us2.php.net/manual/en/ref.mbstring.php
ctype Required
calendar Required for Tiki 6 and higher
Unable to load the jQuery Sortable Tables feature.

php.ini Configuration

We recommend using the following configuration in your php.ini file:

PHP.INI Setting Description
memory_limit = 128M 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 character encoding.
mbstring.func_overload = 0 Tiki will not work properly with mbstring.func_overload = 7.
Unable to load the jQuery Sortable Tables feature.


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/php5/apache2/php.ini (Debian)
  • \windows\system\php.ini (Windows)


Notes:

  1. If safemode is on you may need safe_mode_allowed_env_vars = TZ in php.ini.
  2. To run PHP5 on 1and1.com add the following lines to your _htaccess file (Tiki 3):
    AddType x-mapp-php5 .php
    AddHandler x-mapp-php5 .php
    uncomment line 29 and 30 then rename in .htaccess

Optional Software or Libraries

Some Tiki feautures require the following additional software or libraries:

FeatureAdditional Requirements
The ZipArchive class for php must be installed for some features such as XML Wiki Import-Export and PluginArchiveBuilder
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 (Geospatial Content Management System).Mapserver 4.6+
Rewrite Tiki's default URLsUse the Apache Clean URLs to create shorter, or custom, URLs.

Alias

History

Advanced
Information Version
Marc Laporte 137
View
Marc Laporte 136
View
Marc Laporte 135
View
Xavier de Pedro 134
View
Xavier de Pedro 133
View
Marc Laporte 132
View
Philippe Cloutier update php.ini locations list 131
View
Nelson Ko 130
View
Nelson Ko 129
View
Gregor (gta74) typo 128
View
Philippe Cloutier 127
View
Philippe Cloutier test alias issue 126
View
Philippe Cloutier test encoding issue 125
View
luciash d' being 🧙 124
View
sylvie 123
View
Marc Laporte Fancy Table Plugin modified by editor. 122
View
Marc Laporte 121
View
Marc Laporte 120
View
Marc Laporte 119
View
Marc Laporte 118
View
Marc Laporte 117
View
Marc Laporte Since MySQL vs MYSQLi is available in all versions of the installer, move this note to be more general and not specific to Tiki3 116
View
Marc Laporte cleanup, as per discussion on the devlist 115
View
Marc Laporte 5.1 for Tiki6LTS 114
View
Rick Sapir / Tiki for Smarties 113
View
Rick Sapir / Tiki for Smarties Fancy Table Plugin modified by editor. 112
View
Rick Sapir / Tiki for Smarties 111
View
Rick Sapir / Tiki for Smarties 110
View
Rick Sapir / Tiki for Smarties 109
View
Rick Sapir / Tiki for Smarties 108
View
Rick Sapir / Tiki for Smarties 107
View
Marc Laporte archaic comment 106
View
Marc Laporte cleaning up 105
View
Marc Laporte 104
View
Marc Laporte 103
View
Philippe Cloutier bump PHP requirement to 5.2 for Tiki 7 per decision in TikiFestNewYork6 102
View
Marc Laporte 101
View
Philippe Cloutier 100
View
Marc Laporte 99
View
Marc Laporte 98
View
Rick Sapir / Tiki for Smarties 97
View
Xavier de Pedro 96
View
Christophe 95
View
Christophe 94
View
Philippe Cloutier Tiki now requires MySQL 93
View
Marc Laporte 92
View
Marc Laporte 5 minutes to run a script? that is too much 91
View
Marc Laporte 1-Partially false. 2- Misleading and scaring people for nothing. 3-Fantastico handles upgrades 4-This is not the right place to put this type of info. 90
View
Marc Laporte 1-Partially false. 2- Misleading and scaring people for nothing. 3-Fantastico handles upgrades 4-This is not the right place to put this type of info. 89
View
Marc Laporte 88
View