Getting Started with Zend Server

In this Topic Hide

What to do After Installing Zend Server

Run the Administration Interface

Configure Your Password

Check Apache

Check IIS

Run a Test on Your Web Server

Configure Debugger Access Control

Zend Server is a tool that requires a minimal amount of actual interaction with the Administration Interface. Once your environment is setup, apart from occasionally logging in to view your system settings or your php.ini, there are not many day-to-day activities that require the Administration Interface.

The first point of reference for working with Zend Server is what to do after installation.

What to do After Installing Zend Server

The following section describes the tasks that should be performed after installing Zend Server for the first time.
These tasks cover all the different installation types (DEB, RPM, Tarball and Windows). Each task is accompanied by a description of its purpose and the expected results.

Run the Administration Interface

Purpose: To verify the installation and that the Administration Interface is accessible.

Result: the Administration Interface opens in a browser.

The Administration Interface is a Web interface that runs through a browser.
This procedure describes how to view the Administration Interface.

 

 

Instructions on how to complete a procedure

To view the Administration Interface:

  1. To run Zend Server locally, open a browser and enter the following URL:
     For Windows: http://localhost/ZendServer;
    For Linux: http://localhost:10081/ZendServer or https://localhost:10082/ZendServer

    If you are using a remote connection, replace localhost with your Host Name or IP.

  2. The Zend Server login screen opens and prompts you to set a password.
    This screen only appears once and is not displayed again after your password is set.

The next time you log in to Zend Server, you are prompted for the password you set the first time you opened Zend Server.

Configure Your Password

Purpose: To ensure that you can access the Administration Interface.

Result: Your password is created.

 

When you first run Zend Server, the registration screen is displayed. Define your Zend Server login password in this screen.

To view the different password management options, click Password Management.

Check Apache

Purpose: To verify that Apache is running.

Result: System confirmation.

This procedure describes how to check if the Apache Web server is running.

 

 

Instructions on how to complete a procedure

To check if the Apache server is running:

DEB, RPM, Tarball: from the command line, run ps -ef | grep -E 'apache2|httpd'.

Windows: In the system tray, hover over the Apache Monitor icon to view the Apache status. If necessary, click to open a dialog with the Stop, Start and Restart options.

A notification with the Apache server status is displayed.

Note:

Every time the Apache is restarted, the following message is displayed: "httpd: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1 for ServerName".
To resolve this situation, add a line to the Apache configuration file, as follows:
Open the file <install_path>/apache2/conf/httpd.conf and add the following line, placing your server's Host name in the brackets: ServerName [server name]

Check IIS

Purpose: To verify that the bundled webserver is installed and running.

Result: System confirmation.

This procedure describes how to check if the IIS server is running.

 

 

Instructions on how to complete a procedure

To check if the IIS server is running:

Use Microsoft: http://support.microsoft.com/kb/314771 [^]
Look for the presence of the following registry key:

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp
-or-
Issue the following command in cmd :

Iisreset /status

If the following message is received, then IIS is not running:
“'iisreset' is not recognized as an internal or external command, operable program or batch file.” ----&61664; not installed

If the following messages are received, then IIS is running:

“Status for Windows Process Activation Service ( WAS ) : Running"

"Status for World Wide Web Publishing Service ( W3SVC ) : Running” ---&61664; installed

Run a Test on Your Web Server

Purpose: To verify that the installed Web server is running properly.

Result: The "Hello World" message is displayed in your browser.

This procedure describes how to run a test PHP script.

 

 

Instructions on how to complete a procedure

To run a simple test script:

  1. Create a file called hello.php

  2. Enter the following code into the file:

<?php
echo "Hello World";
?>
 

The "Hello World" message is displayed when the code runs in a browser.

  1. Save the file in your Apache document root directory. Only files in this directory are serviced by the Web server. For information about the document root directory, see Deploying Code with Zend Server.

  2. Open a browser and enter the following URL: http://localhost:<port number>/hello.php.
    Replace <port number> with the port you are using. The default values are port 80 for Windows DEB and RPM and port 10088 for the other operating systems unless you manually changed the port assignment.

Your browser displays the "Hello World" message.

Configure Debugger Access Control

Purpose: To enable PHP debugging using Zend Studio and Zend Server.

Result: You are able to debug your PHP code and view the results in Zend Studio.

Before working with the Debugger, configure the allowed hosts in Server Setup | Debugger.

Note:

By default, Zend Server comes with a permissive setting that allows all standard private IP addresses (for example 10.*.*.*) to access the Debugger. For security reasons, if you do not have an immediate need for permissive access, remove these ranges from the Allowed Hosts: 10.*.*.*  / 192.168.*.*  / 172.16.*.*.

Additional setup information can be found in the Installation Guide, in Package Setup and Control Scripts.

 

 

Related Links

Related Links:

Working with Zend Server

Password Management

Registration