How to install WikiSuite documents a typical installation. But your needs can differ.

As of 2024-03-12, this page is still a draft.

The goal is to document (or even better point to documentation) about

  • Change server-wide settings via CLI (Webmin)
  • Change server-wide settings via GUI (Webmin)
  • Overriding settings for one site via CLI (Virtualmin)
  • Overriding settings for one site via GUI (Virtualmin)
    • If you later change a site from PHP 8.1 to 8.2 (for example), you need to configure again
  • Overriding settings for one site via text file (like .user.ini) which work well for cloneandupgrade

Resource Limits (Max file upload, PHP memory limit, etc.)

Virtualmin -> (pick the Virtual Server or Sub Server) -> Web Configuration -> PHP-FPM Configuration - Resource Limits

Display error messages

To do: document way to override for whole server. Ex.: a dev server could have always at on, or per site.

-> Error Logging

  • Display error messages: Yes
  • Error types to display: All errors and warnings

Change PHP version

Virtualmin -> (pick the Virtual Server or Sub Server) -> Server Configuration -> PHP Version

You should not change the "PHP script execution mode" unless you know what you are doing.

OPcache

tiki-admin.php?page=performance -> Bytecode Cache can report a setting to be adjusted:
opcache.memory_consumption

One way (perhaps not the cleanest) is to find the php.ini file for opcache for your php. Ex.: /etc/php/7.4/fpm/conf.d/10-opcache.ini and
opcache.memory_consumption=128
and restart your Apache server (or reboot the whole server). Then, check tiki-admin.php?page=performance after a while.


zlib.output_compression

On ClearOS, it was recommended to put zlib.output_compression = 1 in .user.ini What about Virtualmin?

We will propose a change of default setting as per: https://dev.tiki.org/Review-Performance-for-2024