This guide describes how to change the PHP settings for your web space. An adjustment may be necessary to ensure a working application . This is done via the “.user.ini”, which serves as a configuration file for the PHP server. So you can change the PHP settings by entering the appropriate instructions, so-called “php.ini directives” into the “.user.ini”.
This article helps you to create a .user.ini, which is used to customize PHP settings on your web hosting. This may be necessary to store the required values for an application (e.g. CMS) so that it works optimally.
The .user.ini serves as a configuration file and contains directives with values.
Using a text program of your choice, create a text file on your computer with the following name “.user.ini”.Each line can contain one directive with value.
max_execution_time = 600
memory_limit = 256M
post_max_size = 128M
upload_max_filesize = 128M
max_input_vars = 2000
max_input_time = 400
You can now upload this file to your web hosting using FTP. It is optimal if this file is deposited in the root directory of your domain, so that it counts for the whole domain.
Example Product WEB: in the folder “domain.tld”
Example Product WEB Swiss: in the folder “domain.tld/public_html”