History: 必要条件与安装
Preview of version: 1
- «
- »
Translation of this page is incomplete.
必要条件与安装
本页列出安装Tiki的最低必要条件
如果你正在使用标准的共享主机,你可以假设已复合必要条件,Tiki就是被设计要运行在LAMP共享主机上的。对于要配置Tiki服务器的人来说下面的指示非常有用。
Table of contents
必要条件
Web服务器
Tiki是在Linux和Apache上面开发及广泛使用的。但是,Tiki应能运行在任何支持PHP的Web服务器上,像Windows/IIS、lighttpd等,但你需要做些调整。请看Windows兼容项目。
你的Web服务器配置应达到一下最低要求:
- 512 MB 内存
- 100 MB 剩余磁盘空间
数据库
Tiki需要一个有效的关系数据库连接。数据库可以安装与Web服务器相同的主机上(localhost)。也可以是个远程数据库。Tiki使用MySQL。
- MySQL 5或更好版本 (Tiki3及以后的版本)
- MySQL 4.1 或更高
PHP
Tiki 3 (及以后版本) 需要 PHP 5 附带 MySQLi 扩展。
Tiki 4 (及以后版本) 用PHP 5 附带 PDO 扩展会更好。 如果没有PDO你可以倒退到ADOdb。 请看: 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
More information
[+]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. |