This CLI command restarts the PHP and components that need to be restarted, on the server or on all the servers in the cluster - in the case of a clustered environment.


This command is functionally identical to the restart command, and was retained from previous versions of Zend Server for backward compatibility.

Command Specific Arguments

This table specifies the various arguments used in the command:

Abbreviated Full Description Required/Optional



Set to "true" to force a full restart of all server components. Default: false


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 restart:

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

/usr/local/zend/bin/zs-manage restart --help

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

/usr/local/zend/bin/zs-manage restart -N <existing key name> -K <existing key secret>

Zend Server is restarted.

ubuntu1204-a OK



The WebAPI key details were provided after performing bootstrap-single-server. To view these details, use api-keys-get-list.