Windows: Package Setup and Control Scripts
The following section describes how to Start and Stop Zend Server services on MS Windows.
Managing Windows Services
All Zend Server component services are managed by the MS Windows Service Manager.
To Start / Stop or Restart any of the Zend Server services, go to Start | Control Panel | Administrative Tools | Services (or run services.msc from the start menu).
All installed Zend Server services are displayed with a Zend Prefix.
Additional Zend Server components can be added to your setup by running the installer in modify mode:
To add components:
This adds (and can also remove) any additional packages that are selected.
About Zend Server Services Automatic Startup
Zend Server is configured to start at boot time by default. If you are running Zend Server with Apache, the Apache Web Server manager will also be started. If you are using IIS it will run according to the settings you defined for IIS prior to Zend Server installation. For both Web servers, the default is to start automatically at boot time.
You can, if you want to, change what is loaded at boot time. You can even control which specific services are started or not when Zend Server starts - this is useful if, for example, if you are not using Job QueueA simple and manageable system for off-loading tasks from the synchronous user request, to an external, parallel PHP process. and do not want the service to run in the background (Note: If you re-enable the Job Queue PHP component, it will NOT enable Job Queue service and you need to enable it manually).
The Zend Server services are controlled via the MS Windows service manager and are as follows:
Monitor - Automatically started
Job Queue - Automatically started
Code Tracing - Installed but not started by default
Session Clustering - Installed but not started by default
- Java Bridge - Not installed by default
- MySQL(Optional) – Automatically starts according to standard MySQL settings.
- Apache (if installed Zend Server with Apache web server)
- Apache Web Server - The service name is ZendApache, and it is configured to automatically start on boot-up.
To change the setting to run or not run at boot time use the MS Windows service manager (as described above).
To Stop, Start or Restart Apache server, the following options are available:
- Using Apache Monitor, which you can find on the systray panel (near the start menu) - Left-Click will operate, Right-Click will display further options.
- Open a CMD window with an administrative user, and directly run 'net [start|stop] ZendApache'. Use Stop and then Start to perform a Restart
- You can also use the Apache application to perform Start, Stop and Restart operations on it's own service (and even more actions related to Apache web server), using the command: '<Zend Server_install_dir>\Apache24\bin\httpd.exe -k [start|stop|restart] -n ZendApache'.
- IIS(5,6,7) – depends on user settings. The command line to start/stop service (all versions): 'net [start|stop] w3svc'.
More info about changing IIS configurations can be found in http://www.iis.net/.