Loading...
 
Skip to main content

History: Requirements

Preview of version: 35

Requirements and Setup

  • 128 megabytes of RAM (depending on the traffic expected)
  • more than 60 megabytes free space on disk (source files take about 35MB and the uploaded images (attachments) go on disk)

Required Software for Tiki 1.8.x

  • PHP 4.1+, TikiWiki won't work with older versions of PHP
  • A database server. The most tested is MySQL but options include Postgres, Oracle, Sybase, MSSQL. MySQL 4.1+ does not work with TikiWiki 1.8.x (due to a change in the LIMIT clause in MySQL 4.1.)
  • A webserver that can run PHP. Apache is strongly recommended but other webservers may work as well. These include IIS.

Required Software for Tiki 1.9.x

  • PHP 4.1+, TikiWiki won't work with older versions of PHP
  • A database server. The most tested is MySQL but options include Postgres, Oracle, Sybase, MSSQL. Tiki 1.9.1 and up is required to use the new mysqli extension (PHP 5.0 and up).
  • A webserver that can run PHP. Apache is strongly recommended but other webservers may work as well. These include IIS.

Optional Softwares or Libs

Some TikiWiki features can require external additional softwares.

  • image processing library for thumbnail generation, dynamic chart generation and Prevent automatic/robot registration. This can be either :
    • GD library > 1.5 and PHP compiled
    • ImageMagick but only for thumbnail generation see ImageMagick Install
      (You don't need to get those 2 libraries if you use PHP 4.3+ since they are bundled.)
  • WikiGraph plugin needs GraphViz installed : see GraphViz Install
  • search : For full-text search MySQL 3.23.23+, for boolean full-text search MySQL4.0.1+
  • webmail : Will need at least PHP 4.2+
  • PDF generation : Needs php-xml package. Consider a PHP error message about utf8_decode() upon exportation as an indication you don't have php-xml installed
  • maps : Mapserver 4.6 and up as a PHP mapscript module for Linux or Windows, obtainable from http://mapserver.gis.umn.edu

PHP Setup

The location of php.ini depends on your OS. Common locations for Linux are

  • /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)


Use a recent version. 4.2+ is recommended but it will work with 4.1 too (there was a session bug in 4.1.2 which has been pretty problematic).

  • be sure "pcre" is enabled (compile time)
  • you don't need any specific PHP extension to install TikiWIki but GD is recommended and will be used if you have it. (GD is bundled by default with PHP 4.3+)
  • if you want to use uploads (files, images) make sure uploads are enabled in php.ini and the upload size is set to xx megabytes. See also mysql setup
    Copy to clipboard
    file_uploads = On upload_max_filesize = xxM
  • if you want to use trackback pings (blogs) make sure URL handling is enabled in php.ini - this is a potential security risk though.
    Copy to clipboard
    allow_url_fopen = On
  • TikiWiki uses sessions (a common mechanism in PHP4) make sure that the path where PHP stores sessions (php.ini) exists and that PHP can write to that path. (special case in Shared Hosting environment where you may have no access to /tmp, in which case replace it with temp, with no slash)
    Copy to clipboard
    session.save_handler = files session.save_path = /tmp
  • it is highly recommended to increase the maximum memory size for PHP scripts from 8 MB to at least 16 MB if not 32 MB in your php.ini configuration file. Uploaded files are hashed with md5(), so watch this setting too if you upload files of several megabytes. Whilst TikiWIki can run in 8 MB environments for most actions eventually as you load your TikiWIki with content it requires more memory. Please dont use TikiWIki in 8Mb environments, it will cause you more problems later on. Before reporting a problem, particularly getting blank pages, change to 16 or 32 MB.
    Copy to clipboard
    memory_limit = 16M
  • another settings recommended to change which may cause timeouts if your wiki is large and prevent you from doing a backup through the Admin menu
    Copy to clipboard
    max_execution_time = 60 max_input_time = 60
  • set magic_quotes_gpc to off in php.ini
    Copy to clipboard
    magic_quotes_gpc = Off
  • for character encoding consistency reasons it is recommended to set
    Copy to clipboard
    default_charset = "utf-8"

Apache Setup

MySQL Setup

Indicated commands are for example only, in case you use command-line. If you are not very comfortable with MySQL, consider using PhpMyAdmin.

  • create an empty database for storing TikiWIki data
    Copy to clipboard
    mysqladmin create tikidb
  • it's strongly advised you create a new mysql user for acces to the created database
    Copy to clipboard
    mysql -e "grant all on tikidb.* to tikidbuser@localhost identified by 'tikipass';" mysql -e "flush privileges;"

Enable Large Image or File Support

Commonly, people wish to store images or files larger then the default size of 1 MB. To allow larger files, up to 16 MB, add (or request your administrator to add) the following lines to the MySQL configuration file, where 'xxx' is any number from 1 to 16:

Copy to clipboard
[mysqld] set-variable = max_allowed_packet=xxxM


If you change MySQL's max_allowed_packed, you must set PHP's upload_max_filesize to a matching value in your php.ini file.

Other DB setup

  • perform the equivalent operations to those in the MySQL Setup section, above, with your DB

History

Information Version
bienvenu ushindi Group Tiki 30 with versions sharing the same requirements 294
View
bienvenu ushindi Revise the mariadb minimum version for tiki 30 293
View
bienvenu ushindi Add tiki30 constraints 292
View
Bernard Sfez / Tiki Specialist 291
View
Bernard Sfez / Tiki Specialist 290
View
Bernard Sfez / Tiki Specialist 289
View
Marc Laporte The requirements don't change for Tiki 27, 28 and 29. We don't know yet for 30 288
View
Rodriguez Nyiringabo 287
View
Rodriguez Nyiringabo 286
View
Rodriguez Nyiringabo 285
View
Marc Laporte Why it's OK. We are using for a huge project. 284
View
Merci Jacob 283
View
Marc Laporte 282
View
Marc Laporte 281
View
Marc Laporte ok, we decided 280
View
Marc Laporte 8.3 should be fine as well 279
View
drsassafras 278
View
Marc Laporte 277
View
Marc Laporte There was a mismatch 276
View
Marc Laporte Expected to be OK until PHP 9.0 275
View
Marc Laporte 274
View
rjsmelo 273
View
rjsmelo Update requirements for Tiki 27 272
View
Marc Laporte 2023 271
View
Marc Laporte 270
View
Kevin Doyle tiki26 is released added strike through 269
View
Marc Laporte 268
View
Marc Laporte 267
View
Marc Laporte 266
View
Marc Laporte Burn the bridges! 265
View
Marc Laporte 264
View
Marc Laporte Adding projections as of now 263
View
Marc Laporte Adding Percona Server for MySQL, which is a "a free, fully compatible drop in replacement for Oracle MySQL." 262
View
Marc Laporte 261
View
Marc Laporte Better link 260
View
Marc Laporte This has been retired 259
View
Marc Laporte 258
View
Marc Laporte Update DB info 257
View
Marc Laporte 256
View
Marc Laporte Bye maketoc 255
View
Marc Laporte Redoing edits I had done on duplicate page 254
View
Marc Laporte Putting page in English 253
View
Torsten Fabricius Danish Seems to work now: 'Krav og Opsætning' = 'Requirements and Setup', whilst the text is still in English. Sorry. 252
View
Torsten Fabricius now changing the name to danish title (krv = requirement(s) ) and regenerate a new english page version ... if that works 251
View
Torsten Fabricius 250
View
Torsten Fabricius Still trying to change the language for this page to English ... the system states there would be an English version exist, which I do not find. Now this page is Danish ... at least 249
View
Torsten Fabricius just formatted and added {maketic} - no content change today - still not getting english laguage for the page 248
View
Torsten Fabricius fix auto-Jumbotron, try to set language=English to the page 247
View
Marc Laporte 246
View
Marc Laporte It is better explained on the Tiki24 page 245
View