Friday, January 3, 2014

How you can install Zend Framework 2

Hi guys. This is my new tutorial where you can see how to install Zend Framework 2 in just 5 minutes.



First you need to download and install xampp server from http://www.apachefriends.org/en/xampp.html

Runs it and create a new folder in C:\xampp\htdocs

Install GIT app from http://git-scm.com

Click on right button of mouse on new folder and choose Git Bash.

Enter this address git clone git://github.com/zendframework/ZendSkeletonApplication.git and press Enter button.

Next, press Shift taste and click on right button of mouse on new folder and choose Open Compose Here.

Enter this address C:\xampp\php\php.exe composer.phar self-update and press Enter.

Enter this address C:\xampp\php\php.exe composer.phar install and press Enter.

Open httpd-vhosts.conf file from C:\xampp\apache\conf\extra and add this code:

<VirtualHost *:80>
    DocumentRoot "/xampp/htdocs/new/public"
    ServerName new
    ServerAlias www.new
    SetEnv APPLICATION_ENV "development"
    <Directory "/xampp/htdocs/new/public">
      DirectoryIndex index.php
      AllowOverride All
      Order allow,deny
      Allow from all
    </Directory>
</VirtualHost>

Open host file from C:\Windows\System32\drivers\etc and add this code:

127.0.0.1 new

Next, open you browser and enter this address: new/


Categories:

1 comment:

  1. not getting Open Compose Here option on right click

    ReplyDelete