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
