Skip to main content
Version: 2.2.3

Environment variables

Customizing PHP environment variablesā€‹

To customize environment variables in Baseclass, you must create a file named baseclass.env in the customization folder. This file must contain the environment variables that will be loaded along with the application.

The change must be made as follows:

PHP.INI settingsā€‹

Edit the file with .env extension by adding the following line:

INI=upload_max_filesize = 4000M

Use || if you need to add more than one parameter:

INI=upload_max_filesize = 4000M||post_max_size = 4000M

Click here to see the variables that can be configured.

PHP-FPM settingsā€‹

Edit the .env extension file by adding the following line:

WWW_CONF=pm.max_children = 80

Use || if you need to add more than one parameter:

WWW_CONF=pm.max_children=80||process_control_timeout=300000

Click here to see the variables that can be configured.