I'm using windows 7 32-bit, and xampp 1.8.1.
I followed http://samminds.com/2012/07/zend-framework-2-installation-on-xampp-for-windows/ to install zf2.
I downloaded 'http://msysgit.googlecode.com/files/Git-1.8.4-preview20130916.exe' and installed in "D:\Program Files\Git".
I installed my project by 'git' by the command-
git clone git://github.com/zendframework/ZendSkeletonApplication.git F:\xampp\htdocs\zen
and my zend skeleton was installed in "F:\xampphtdocszen" folder.
the folder structures are:
now the tutorial says to type:
php composer.phar self-update
php composer.phar install
these lines but when I typed
php composer.phar self-update
in git cli and pressed 'Enter' then got this error-
what should I do now to install zf2 successfully ? please tell me with detail (detail folder path,detail cli command etc.)
-Thanks.
Edit:
I got this error while trying-
php composer.phar install
error:
RESOLVED
I had to uncomment this line on php.ini-
extension=php_openssl.dll
Folder structure for XAMPP is not rite: Structure must be like F:\xampp\htdoc\ZendSkeletonApplication
Steps to install zend framework 2:
1) Git clone https://github.com/zendframework/ZendSkeletonApplication (Rename the project)My project name was Zf2BlogTutorial C:\xampp\htdoc\Zf2BlogTutorial
2)Create a virtual host for your project(copy this code at the end of C:\xampp\apache\conf\extra\httpd-vhosts.conf )
3) go to C:\Windows\System32\drivers\etc\hosts and put this at the end:
4) go to Zf2BlogTutorial(project folder)
5)
5)http://local.blog on browser and you will see zend framework 2 page