I started looking through the quick-start guide for ZF2 today, but
have been unable to make it very far. I have downloaded the skeleton
application and extracted it to a folder that I named ZF2. At a
command prompt (using Windows 7) I configured the path variable to
include the PHP executable folder and then set the current directory
to the path where my ZF2 skeleton application is located. When I try
to run either of these commands, I get the following error
information:
php composer.phar self-update
php composer.phar install
PHP Warning: Phar::mapPhar(composer.phar): failed to open stream: No
such file or directory in composer.phar on line 13
Warning: Phar::mapPhar(composer.phar): failed to open stream: No such
file or directory in composer.phar on line 13
PHP Fatal error: Uncaught exception 'PharException' with message
'unable to open phar for reading "composer.phar"' in composer.phar:13
Stack trace:
#0 composer.phar(13): Phar::mapPhar('composer.phar')
#1 {main}
thrown in composer.phar on line 13
Fatal error: Uncaught exception 'PharException' with message 'unable
to open phar for reading "composer.phar"' in composer.phar:13
Stack trace:
#0 composer.phar(13): Phar::mapPhar('composer.phar')
#1 {main}
thrown in composer.phar on line 13
The file is obviously in the right location AND is readable, since the
PHP errors are occurring on line 13 (the first executable statement)
of that file. At this point, I'm rather stuck, unable to continue
through the guide.
Andrew
--
List: [email protected]
Info: http://framework.zend.com/archives
Unsubscribe: [email protected]