This CLI command saves a changed value of a configuration directive.
This table specifies the various arguments used in the command:
Abbreviated | Full | Description | Required/Optional |
-d |
--directiveName |
The full name of the directive. |
Required |
-v |
--directiveValue |
Directive new value. |
Required |
This table lists arguments common to all zs-manage commands:
Abbreviated | Full | Description | Required/Optional |
-N |
--key-name |
WebAPI key name. |
Required |
-K |
--secret-key |
WebAPI secret key. |
Required |
-U |
--server-url |
Zend Server URL. Default: http://localhost:10081/ZendServer. |
Required - when action is performed on a remote server. |
-h |
--help |
Show usage information and exit. |
Optional |
|
|
|
To use store-directive:
/usr/local/zend/bin/zs-manage store-directive --help
/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. |