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
Step 2
Step 3
And next download the Zend Skeleton Application.
Step 1
Step 2
Step 3
And finally downloaded both setups. You will put your working directory in the www folder. You will create a project folder.
And then put the Zend Skeleton Application setup in your project.
And open the vender folder.
And the next step is to open the ZF2 folder.
And past the Zend Framework here.
And then copy your php.exe path and set this path in the environment variable.
Double-click on the path and paste your "C:\wamp\bin\php" in the last part of this 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.