-- Andrew Ballard <[email protected]> wrote (on Friday, 26 October 2012, 04:23 PM -0400): > 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.
This is a composer error, not ZF2. We do provide instructions for using git submodules, as well as specifying the location to an existing ZF2 install; try those if you're still having issues with composer. -- Matthew Weier O'Phinney Project Lead | [email protected] Zend Framework | http://framework.zend.com/ PGP key: http://framework.zend.com/zf-matthew-pgp-key.asc -- List: [email protected] Info: http://framework.zend.com/archives Unsubscribe: [email protected]
