This CLI command saves a changed value of a configuration directive.

Command Specific Arguments

This table specifies the various arguments used in the command:

Abbreviated Full Description Required/Optional



The full name of the directive.




Directive new value.


Common Arguments

This table lists arguments common to all zs-manage commands:

Abbreviated Full Description Required/Optional



WebAPI key name.




WebAPI secret key.




Zend Server URL. Default: http://localhost:10081/ZendServer.

Required - when action is performed on a remote server.



Show usage information and exit.




Instructions on how to complete a procedure

To use store-directive:

  1. Open your CLI.
  1. Enter a help command for the store-directive action to learn which arguments your command should include:

/usr/local/zend/bin/zs-manage store-directive --help

  1. Enter the command with the required arguments (replace brackets with your value):

/usr/local/zend/bin/zs-manage store-directive -d <directive name> -v <new directive value> -N <existing key name> -K <existing key secret>

The new value for the directive are stored.

Directive bcmath.scale in Extension bcmath changed successfully

You should restart php or any other components affected by this change


To apply these changes, restart Zend Server.