Configuring PHP

Indigo’s PHP services are pre-configured ready for use. You can also easily override each PHP service’s configuration when needed.

In Indigo, click on the PHP service in the rack, and click the exposure arrow beside “Configuration overrides”. You may enter any PHP configuration into the resulting text field.

For example, to increase PHP’s memory limit, enter the following:

memory_limit = 256M

Configuration directives

Any configuration directive that is valid in a php.ini file is also valid in this configuration. See https://www.php.net/manual/en/ini.list.php for a complete list.

Template variables:

Indigo also provides the following Mustache template variables, which you can use in your configuration.

user
group
port
log_path
pid_file
service_path
ssl_certificate_dirpath

To use them, wrap them in double curley braces eg:

error_log = {{log_path}}/my_php_errors.log`