Loading...
 
Skip to main content

History: Requirements

Preview of version: 95

Requirements and Setup


This page lists the minimum requirements for installing Tiki.

If you are using standard shared hosting, you can assume that the requirements are met, as Tiki is designed to run on shared hosting, using the LAMP stack. The instructions below are useful for people that are configuring a server for Tiki.


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

Database

Tiki requires an active relational database connection. The database can be installed in the same physical location of the webserver (localhost). It can also be a remote database. Tiki requires MySQL

  • MySQL 5 or higher (require for Tiki3 or higher)
  • MySQL 4.1 or higher

PHP

Tiki version 3 (or later) requires PHP 5 with the MySQLi extension.
Tiki version 4 (or later) prefers PHP 5 with the PDO extension. You can revert back to ADOdb if PDO is not available. Please see: ReleaseNotes40

Note on PHP Memory Limits: some ISP's install PHP with a memory_limit = 8m. While Tiki may install, and initially appear to work fine, when faced with even a slight load, this limit will be easily passed and the system will constantly fail: pages will not load properly, odd errors will occur etc. To check this limit, try yourdomain.com/tiki-phpinfo.php . Run that and search for three values on your ISP’s server:
  • 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
This limit is not generally user manageable so you must rely on the kindness of your ISP to grant you more resources. On a busy shared server that will also mean that all other PHP users on that shared server will also be granted those resources.

More information

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
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 = 32MSpecify the maximum memory for PHP scripts.
file_uploads = OnRequired to allow uploads (files, images, etc.) to your Tiki
upload_max_filesize = XXMSpecify the maxium upload filesize (in MB).
allow_url_fopen = OnAllow 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 = 60Specify 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 = OffTurn off PHP's Magic Quotes function.
default_charset = "utf-8"Specify the default charcter encoding.
mbstring.func_overload = 0Will 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:

  1. PHP 4.1.2 has a known session bug and should not be used.
  2. you may also need the php-devel package being installed (and restarted apache) to get past the "blank screen issue" of tiki-install.php. (See forum article about that). Prior to it please check, that you have enabled the proper database in your php.ini.
  3. If safemode is on you can need safe_mode_allowed_env_vars = TZ in php.ini
  4. 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:

FeatureAdditional 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 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