Loading...
 

php.ini


Generally, you shouldn't need to change your php.ini, but if you do (like in ISPCOnfig3 setups), this page is to share tips & tricks about Tiki-related configs.

You have to place your custom php.ini file in your Tiki root folder.
Keep in mind that some servers have two different php.ini files, one for php scripts used through a web server and browser, and another one for php scripts being run in the commadn line (CLI). These 2 are common locations for those 2 php.ini files (in Debian GNU/Linux servers):

  • /etc/php5/apache2/php.ini
  • /etc/php5/cli/php.ini


Related:

.user.ini

Since php 5.3 you can use .user.ini placed in your Tiki root to customise your PHP setting.

Samples

Performance

Copy to clipboard
; if you want to reduce CPU usage, set it to off ; if you want to limit traffic, set to on zlib.output_compression = Off 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 = 256M ; 128M is PHP's default value. If you still get blank pages, raise it. ; realpath_cache_size determines the size of the cache used by PHP used each time it references a file ; The size value should be increased for Tiki as the default is only 16K ; see http://www.php.net/manual/en/ini.core.php#ini.realpath-cache-size realpath_cache_size = 64k ; The time to live value defaults to 120 seconds so can be increased on stable sites, e.g. ; realpath_cache_ttl = 360

Upload larger files

Copy to clipboard
memory_limit=128M upload_max_filesize=10M post_max_size=11M max_execution_time=90

Medium/Big Tiki

Copy to clipboard
memory_limit = 384M upload_max_filesize = 16M post_max_size = 16M max_execution_time = 90 zlib.output_compression = 1 realpath_cache_size = 64k


See also:


Add on 2015-11-23:
Since php 5.3 you can use .user.ini instead of php.ini,
Since php 5.5 it is also necessary!! For example on site5.com as they explain here: http://kb.site5.com/php/how-to-make-custom-php-changes-using-a-user-ini-file/ (see the link for more information)

doc.tiki.org

Get Started

Admin Guide User Guide

Keywords

Keywords serve as "hubs" for navigation within the Tiki documentation. They correspond to development keywords (bug reports and feature requests):

Accessibility (WAI and 508)
Accounting
Articles and Submissions
Backlinks
Banners
Batch
BigBlueButton audio/video/chat/screensharing
Blog
Bookmark
Browser Compatibility
Link Cache
Calendar
Category
Chat
Clean URLs
Comments
Communication Center
Compression (gzip)
Contacts (Address Book)
Contact us
Content Templates
Contribution
Cookie
Copyright
Credit
Custom Home and Group Home Page
Date and Time
Debugger Console
Directory of hyperlinks
Documentation link from Tiki to doc.tiki.org (Help System)
Docs
Draw
Dynamic Content
Dynamic Variable
External Authentication
FAQ
Featured links
File Gallery
Forum
Friendship Network (Community)
Gmap Google maps
Groups
Hotword
HTML Page
i18n (Multilingual, l10n)
Image Gallery
Import-Export
Install
Integrator
Interoperability
Inter-User Messages
InterTiki
Kaltura video management
Karma
Live Support
Login
Logs (system & action)
Look and Feel
Mail-in
Map with Mapserver
Menu
Meta Elements
Mobile Tiki and Voice Tiki
Module
MultiTiki
MyTiki
Newsletter
Notepad
Payment
Performance Speed / Load
Permissions
Platform independence (Linux-Apache, Windows/IIS, Mac, BSD)
Polls
Profiles
Profile Manager
Report
Toolbar
Quiz
Rating
Feeds
Score
Search engine optimization
Search
Search and Replace
Security
Semantic links
Shadowbox
Shadow Layers
Share
Shopping cart
Shoutbox
Slideshow
Smiley
Social Networks
Spam protection (Anti-bot CATPCHA)
Spellcheck
Spreadsheet
Stats
Surveys
Tags
Task
Tell a Friend, alert + Social Bookmarking
TikiTests
Theme CSS & Smarty
Tiki Manager
Trackers
Transitions
User Administration including registration and banning
User Files
User Menu
Watch
WebDAV
Webmail
Web Services
Wiki History, page rename, etc
Wiki Syntax
Wiki structure (book and table of content)
Workspace
WSOD
WYSIWYCA
WYSIWYG
XMLRPC

Tiki Newsletter

Delivered fresh to your email inbox!
Newsletter subscribe icon
Don't miss major announcements and other news!
Contribute to Tiki