How Can We Help?
< All Topics
Print

Environment Variables(PHP)

Environment Variables(PHP):

Apache:

VariableValue ExampleDescription
APACHE_VERSION2.4.6A version of the running Apache server (informational)
PHP_VERSION7.2.1A version of the running PHP engine (informational)
WEBROOT/var/www/webrootSets a path to the directory for application deployment

NGINX:

VariableValue ExampleDescription
NGINX_VERSION1.12.2A version of the running NGINX server (informational)
PHP_VERSION7.2.1A version of the running PHP engine (informational)
WEBROOT/var/www/webrootSets a path to the directory for application deployment
PHPFPM_MAX_CHILDREN8Sets a number of child worker processes for PHP-FPM. Is equal to the number of CPU cores available for the container by default (but no less than 2)
Table of Contents