Zend Server User Guide > Getting Started > Step 2: Verify your Installation

Step 2: Verify your Installation

After successfully launching Zend Server, it is a good practice to verify your Web server is installed and running properly. To do this, test your Web server by running a simple PHP script. If you want to skip this step, go to Step 3: Configure your PHP.

 

 

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 Zend Server";

?>

  1. Save the file in your Web server 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/hello.php

Your browser displays the "Hello Zend Server" message.

Note:

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

 

If this doesn't work? Try this:

Apache

ps -ef | grep -E 'apache2|httpd'

WRKACTJOB JOB(ZENDSVR)_

A notification with the Apache server status is displayed.

nginx

From the command line, run the following command:

ps -ef | grep nginx

IIS

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

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp

-OR-

  1. Issue the following command in cmd:

Iisreset /status

If the following message is received, then IIS is not running:

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

 

Read Also

  Zend Server for IBMi Installation Guide