Please wait

Loading...

Start typing in the pseudo command bar to explore the commands available.

api:environments:update

Modifies configuration settings for an environment.

For more help, see https://cloudapi-docs.acquia.com/ or https://dev.acquia.com/api-documentation/acquia-cloud-site-factory-api for acsf commands.

Usage

acli api:environments:update [--lang_version LANG_VERSION] [--memory_limit MEMORY_LIMIT] [--opcache OPCACHE] [--apcu APCU] [--interned_strings_buffer INTERNED_STRINGS_BUFFER] [--max_execution_time MAX_EXECUTION_TIME] [--max_post_size MAX_POST_SIZE] [--max_input_vars MAX_INPUT_VARS] [--memcached_limit MEMCACHED_LIMIT] [--] <environmentId>
acli api:environments:update 12-d314739e-296f-11e9-b210-d663bd873d93 --memory_limit="192" --apcu="32" --max_execution_time="10" --max_post_size="256" --max_input_vars="1000" --memcached_limit="128"
acli api:environments:update myapp.dev --memory_limit="192" --apcu="32" --max_execution_time="10" --max_post_size="256" --max_input_vars="1000" --memcached_limit="128"

Arguments

  • environmentId

    Required

    The environment identifier. The identifier is a compound key consisting of the internal database ID of the environment and the application UUID. You may also use an environment alias or UUID.

Options

  • --lang_version

    Required

    The PHP or Node version.

  • --memory_limit

    Required

    Limits PHP request memory usage in megabytes.

  • --opcache

    Required

    This is the total amount of memory available for caching precompiled script bytecode per PHP/FPM process.

  • --apcu

    Required

    APCu shared memory size per web server.

  • --interned_strings_buffer

    Required

    Sets PHP Opcache key count per server.

  • --max_execution_time

    Required

    Limits PHP request time in seconds.

  • --max_post_size

    Required

    Sets the PHP limit on POST body size.

  • --max_input_vars

    Required

    Limits the number of various request items in PHP.

  • --memcached_limit

    Required

    Sets the maximum amount of memory in MB that can be allocated to memcached. Only available on Acquia Cloud Next.

  • --help | -h

    Optional

    Display help for the given command. When no command is given display help for the <info>list</info> command

    Defaults to false

  • --quiet | -q

    Optional

    Do not output any message

    Defaults to false

  • --verbose | -v|-vv|-vvv

    Optional

    Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug

    Defaults to false

  • --version | -V

    Optional

    Display this application version

    Defaults to false

  • --ansi

    Optional

    Force (or disable --no-ansi) ANSI output

  • --no-ansi

    Optional

    Negate the "--ansi" option

    Defaults to false

  • --no-interaction | -n

    Optional

    Do not ask any interactive question

    Defaults to false