Zend Server Installation Guide

Tutorials

What Is a WAMP, MAMP, or LAMP?

WAMP, MAMP, and LAMP are abbreviations for “Windows, Apache, MySQL, and PHP,” “Mac, Apache, MySQL, and PHP,” and “Linux, Apache, MySQL, and PHP,” respectively. These abbreviations describe a fully functioning setup used for developing dynamic Internet web pages. WAMPs, MAMPs, and LAMPs come in the form of a package that binds the bundled programs together so that you don’t have to install and set them up separately. This means you can simply download and install a single program and follow a few easy prompts to get your web development server up and running in the quickest time with the minimum hassle. During installation, several default settings are created for you. The security configurations of such an installation will not be as tight as on a production web server, because it is optimized for local use. For these reasons, you should never install such a setup as a production server.

 

Installing a WAMP

There are several available WAMP servers, each offering slightly different configurations, but probably the best is Zend Server CE (where CE stands for Community Edition), because it’s free and is from the developers of PHP itself. You can download it from http://www.zend.com/en/community/downloads .
I recommend you always download the latest stable release. The page should display the correct installer for your computer: Linux, Windows, or OS X. You will be asked to log in before you download. You can click a link to get the file without logging in or registering, but you’ll miss out on product update emails and other news. Here I have taken a older version 5.6.0 SP1 for windows.

Steps To Install WAMP Server

Once downloaded, follow below Zend Server Installation Guide to complete the installation.

Run the installer to bring up the below window

Click Next and accept the license agreement that follows to move on to the “Setup Type” screen. Select the “Custom” option so that the MySQL server can also be installed.

Steps To Install WAMP Server

The main installation window of the Zend Server CE installer

Steps To Install WAMP Server

Choose the “Custom” install option

When the Custom Setup window appears, scroll down the list of options to the bottom and ensure that both “phpMyAdmin” and “MySQL Server” are checked, as shown below. Then click Next

Steps To Install WAMP Server

Check the boxes for phpMyAdmin and MySQL Server

On the following screen , even if you already have an IIS web server installed, I recommend that you choose to install the Apache web server.

Accept the default values of 80 for the web server port and 10081 for the Zend server interface port and click Next.

Once the ports have been assigned you will reach the screen in Figure, and you should click Install to start the installation

Steps To Install WAMP Server

Install the Apache web server

Steps To Install WAMP Server

Accept the default values offered for the ports

Tip: If either of the ports offered states that it is occupied (generally this will be because you have another web server running) and you can’t use the default, try a value of 8080 (or 8000) for the web server port and 10082 for the Zend server interface port. Remember to use these values later when accessing either web pages or the Zend server. For example, instead of visiting http://localhost/index.htm in your web browser, you would use http://localhost:8080/index.htm.

 

Steps To Install WAMP Server

Now you are ready to click Install to proceed

 

During installation some extra files may be downloaded, so it may take a few minutes for the programs to get set up. When they are ready you will be notified that you can start using the software by clicking Finish. When you do so your default browser will be opened up with the page shown in Figure, where, to continue, you must check the box to agree with the terms.

Now you are ready to set a password. Make sure you choose one you will remember, and click Next to proceed to the screen shown in Figure, where you can now click Finish.

Steps To Install WAMP Server

You must agree to the terms in order to use Zend Server CE

Steps To Install WAMP Server

Choose your password and enter it twice

Finally your browser will show the Dashboard screen in below figure, which is the place where you can administer the server.

Steps To Install WAMP Server

The Zend Server CE administration screen

You can return to this screen at any time by entering http://localhost:10081 into your browser (or, if you entered a value other than 10081 for the Zend server interface port, you can get to this screen by using that value after the colon instead).

 

Testing the Installation

The first thing to do at this point is verify that everything is working correctly. To do this, you are going to try to display the default web page, which will have been saved in the server’s document root folder.
Enter either of the following two

URLs into the address bar of your browser:

http://localhost

http://127.0.0.1

Steps To Install WAMP Server

How the home page should look by default

The word localhost is used in URLs to specify the local computer, which will also respond to the IP address of 127.0.0.1, so you can use either method of calling up the document root of your web server

The document root is the directory that contains the main web documents for a domain. This is the one that is entered when a basic URL without a path is typed into a browser, such as http://yahoo.com, or, for your local server, http://localhost.

By default, Zend Server CE uses one of the following locations for this directory (the former for 32-bit computers and the latter for 64-bit):

C:/Program Files/Zend/Apache2/htdocs

C:/Program Files (x86)/Zend/Apache2/htdocs

 

To ensure that you have everything correctly configured, you should now create the obligatory “Hello World” file. Create a small HTML file along the following lines using Windows Notepad or any other program or text editor (don’t use a rich word processor such as Microsoft Word, unless you save as plain text):

<html>

<head>

<title>A quick test</title>

</head>

<body>

Hello World!

</body>

</html>

Once you have typed this in, save the file into the document root directory previously discussed, using the filename test.htm—if you are using Notepad, make sure that the “Save as type” box is changed from “Text Documents (*.txt)” to “All Files (*.*)”. You can now call up this page in your browser by entering the following URL in its address bar like below : http://localhost/test.htm

Steps To Install WAMP Server

You should now have had a trouble-free installation, resulting in a fully working WAMP. But if you encountered any difficulties, check out the comprehensive documentation at http://kb.zend.com/, which should sort out your problem.

Alternative WAMPs

When software is updated, it sometimes works differently than you’d expected, and bugs can even be introduced. If you encounter difficulties with Zend Server CE that you cannot resolve, you may prefer to choose one of the various other solutions available on the Web instead. You will still be able to make use of all the examples in this book, but you’ll have to follow the instructions supplied with each WAMP, which may not be as easy to follow as the preceding guide.

Here’s a selection of the best

• EasyPHP: http://www.easyphp.org

• XAMPP: http://apachefriends.org/en/xampp.html

• WAMPServer: http://wampserver.com/en/

• Glossword WAMP: http://glossword.biz/glosswordwamp/

In case of any ©Copyright or missing credits issue please check CopyRights page for faster resolutions.

Leave a Reply

This site uses Akismet to reduce spam. Learn how your comment data is processed.