History: Special configurations with Virtualmin
Preview of version: 19
How to install WikiSuite documents a typical installation. But your needs can differ.
As of 2022-10-09, 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)
- Overriding settings for one site via text file (like .user.ini) which work well for cloneandupgrade
Max file upload
Done via Virtualmin GUI
PHP memory limit
Done via Virtualmin GUI
Display error messages
To do: document way to override for whole server. Ex.: a dev server could have always at on, or per site.
Virtualmin -> (pick the Virtual Server or Sub Server) -> Services -> PHP-FPM Configuration -> 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
opcache.memory_consumption=128
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-2023