Book Image

Zend Framework 2.0 by Example: Beginner's Guide

By : Krishna Shasankar V
Book Image

Zend Framework 2.0 by Example: Beginner's Guide

By: Krishna Shasankar V

Overview of this book

<p>ZF2 is the latest update to the well-known Zend Framework. This version has considerably eased the process of building complex web applications with minimal development effort using plug and play components. ZF2 also provides a highly robust and scalable framework for developing web applications.</p> <p>"Zend Framework 2.0 by Example: Beginner’s Guide" will guide you through the process of developing powerful web applications using ZF2. It covers all aspects of Zend Framework application development right from installation and configuration; the tasks are designed in a way that readers can easily understand and use them to build their own applications with ease.</p> <p>"Zend Framework 2.0 by Example: Beginner’s Guide" begins with the basic installation and configuration of the Zend Framework. As you progress through the exercises, you will become thoroughly acquainted with ZF2. With this book, you will learn about the basic concepts of building solid MVC web applications using Zend Framework 2.0. The detailed step-by-step instructions will enable you to build functionality such as a group chat, a file &amp; media sharing service, search, and a simple store to name a few. You will also use a wide range of external modules to implement features that are not natively available. By the end of the book, you will be well versed in building complex, functionality-rich web applications using Zend Framework 2.0.</p> <p>"Zend Framework 2.0 by Example: Beginner’s Guide" provides everything that you need for building functionality-rich web applications with simple real world examples and tasks.</p>
Table of Contents (18 chapters)
Zend Framework 2.0 by Example Beginner's Guide
Credits
About the Author
About the Reviewers
www.PacktPub.com
Preface
Index

Time for action – configuring Zend Server CE


The Zend Server needs to be configured after the installation is completed. The following are the steps for configuring Zend Server CE:

  1. Open the admin console of Zend Server in your default browser (http://localhost:10081/).

    Tip

    The Zend Server UI console runs on port 10081 while the web server runs on port 80. This is why we need to implicitly specify the port number in the URL for accessing the UI console.

  2. When opening the Zend Server Administration Interface for the first time, you will be presented with a configuration wizard. Review and accept the terms and conditions of Zend's End User License Agreement page:

  3. As shown in the following screenshot, you will be asked to set the password for the Zend Server installation:

  4. After the initial configuration wizard is completed, you will be redirected to the Zend Server Administration Interface's home page.

  5. We need to set the session save path. In order to do this, perform the following steps:

    1. Navigate to Directives in Server Setup.

    2. Search for session.save_path.

    3. Set the value to /tmp.

    4. Click on Save Changes and then Restart PHP.

What just happened?

We have successfully modified a server configuration using Zend Server's Administration Interface and we have restarted the PHP instance running on Zend Server.