Zend Framework2 In PHP

Installation

This article explains the Zend Framework 2 installation using the Wamp Server in PHP. The Zend Framework 2 installation is very simple compared to zend1 and I will explain here step-by-step. You use this procedure to install Zend 2. This installation is based on the Skeleton Application and before using Zend Framework you will check your PHP configuration in the two files "php.ini" and "http.conf". You will first download the setup of the Zend Skeleton Application and then you will download the Zend setup version. For the download of this setup go to zendframework.com and click on the installation link.

Step 1

download zend setup

Step 2

download zend setup step2

Step 3

download zend setup step3

And next download the Zend Skeleton Application.

Step 1

zend skeleton application setup

Step 2

zend skeleton application setup step2

Step 3

zend skeleton application setup step3

And finally downloaded both setups. You will put your working directory in the www folder. You will create a project folder.

create project folder

And then put the Zend Skeleton Application setup in your project.

put skeleton setup in project folder

And open the vender folder.

open vender folder

And the next step is to open the ZF2 folder.

open ZF2 folder

And past the Zend Framework here.

put zend setup in ZF2 folder

And then copy your php.exe path and set this path in the environment variable.

php.exe path

copy path

Double-click on the path and paste your "C:\wamp\bin\php" in the last part of this path.

environment variable path

And next step enable your mod "mod_rewrite.so" and "vhost_alias_module" in the Apache "http.conf" file as in the following.

Change:

#LoadModule rewrite_module modules/mod_rewrite.so
#LoadModule vhost_alias_module modules/mod_vhost_alias.so

To:

LoadModule rewrite_module modules/mod_rewrite.so
LoadModule vhost_alias_module modules/mod_vhost_alias.so

And finally your project has been installed.

Type in your URL "localhost:/projectname/public" and see your website.

project home page

Up Next
    Ebook Download
    View all
    Learn
    View all