Fullscreen
[Show/Hide Right Column]

php.ini


Generally, you shouldn't need to change your php.ini, but if you do, 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: htaccess

Performance

# 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 = 30     ; Maximum execution time of each script, in seconds
max_input_time = 30 ; Maximum amount of time each script may spend parsing request data
memory_limit = 32M ; 16 is generally too low, try 32 MB here, if you still get blank pages, raise it in 1 MB steps


Upload larger files



Contributors to this page: xavi67984 pontos  , Marc Laporte9146 points  and Leu672 punten  .
Page last modified on Wednesday 04 April, 2012 17:28:18 UTC by xavi67984 pontos .
The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.

Site Language

Reference Guide

Keywords

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



Tiki Newsletter

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