Loading...
 

History: Special configurations with Virtualmin

Preview of version: 17

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


Should we have a default .user.ini? Perhaps with some common settings commented out?

Should we have _user.ini for default values? And we can have an alias like we do for .htaccess to _htaccess?

.user.ini

Create a file names .user.ini and put it in your Tiki directory (and wait a few minutes)
post_max_size = 1000M
memory_limit = 4000M 
upload_max_filesize = 1000M 
display_errors = On
error_reporting = E_ALL


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

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?



History

Advanced
Information Version
Marc Laporte 24
View
Marc Laporte 23
View
Marc Laporte 22
View
Marc Laporte 21
View
Marc Laporte 20
View
Marc Laporte 19
View
Marc Laporte 18
View
Marc Laporte 17
View
Marc Laporte 16
View
Marc Laporte 15
View
Marc Laporte 14
View
Marc Laporte 13
View
Marc Laporte 12
View
Marc Laporte 11
View
Marc Laporte 10
View
Marc Laporte 9
View
Marc Laporte 8
View
Marc Laporte 7
View
Marc Laporte code Plugin modified by editor. 6
View
Marc Laporte 5
View
Marc Laporte 4
View
Marc Laporte 3
View
Marc Laporte 2
View
Marc Laporte 1
View