30.07.2012 Views

Reference Guide

Reference Guide

Reference Guide

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Check IIS<br />

Purpose: To verify that the bundled webserver is installed and running.<br />

Result: System confirmation.<br />

This procedure describes how to check if the IIS server is running.<br />

To check if the IIS server is running:<br />

Use Microsoft: http://support.microsoft.com/kb/314771 [^]<br />

Look for the presence of the following registry key:<br />

HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\InetStp<br />

-or-<br />

Issue the following command in cmd :<br />

Iisreset /status<br />

If the following message is received, then IIS is not running:<br />

Zend Server <strong>Reference</strong> Manual<br />

“'iisreset' is not recognized as an internal or external command, operable program or batch file.” ----<br />

&61664; not installed<br />

If the following messages are received, then IIS is running:<br />

“Status for Windows Process Activation Service ( WAS ) : Running"<br />

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

Run a Test on Your Web Server<br />

Purpose: To verify that the installed Web server is running properly.<br />

Result: The "Hello World" message is displayed in your browser.<br />

This procedure describes how to run a test PHP script.<br />

To run a simple test script:<br />

1. Create a file called hello.php<br />

2. Enter the following code into the file:<br />

<br />

The "Hello World" message is displayed when the code runs in a browser.<br />

1. Save the file in your Apache document root directory. Only files in this directory are<br />

serviced by the Web server. For information about the document root directory, see<br />

Deploying Code with Zend Server.<br />

2. Open a browser and enter the following URL: http://localhost:/hello.php.<br />

83

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!