Zend Framework 2 installation problem in “php composer.phar install”

In windows you might have a problem while installing ZF using composer.

In my case I got following error

xcopy’ is not recognized as an internal or external command

I was using wnidows7.

and solved the problem by setting up the windows environment variable path with following value.

%SystemRoot%\system32;%SystemRoot%;%SystemRoot%\System32\Wbem;

NB: to set environment path variable, Right click on my computer -> Properties-> Advanced System Settings -> Environment variable -> System Variables -> PATH -> Edit

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s