How to install Zend Framework 2 on XAMPP

zf2Hey guys, I spent quite a bit of time trying to find a proper way of how to install Zend Framework 2 on XAMPP. Here are my tips about how to tackle and get started with Zend Framework 2.


1)      Go to C:\xampp\apache\conf\extra and modify httpd-vhosts.conf

Insert lines like:

<VirtualHost *:80>

ServerName zf.localhost

DocumentRoot C:\xampp\htdocs\zf\public

#ErrorLog “logs/”

#CustomLog “logs/” common

SetEnv APPLICATION_ENV “development”

<Directory C:\xampp\htdocs\zf\public>

DirectoryIndex index.php

AllowOverride All

Order allow,deny

Allow from all