I am trying to int Zend framework 2. I aready have xampp running. I followed the steps on this answer. How ever when I visit the url I specified I get the following descriptive error:
Fatal error: Uncaught exception 'RuntimeException' with message 'Unable to load ZF2. Run
php composer.phar install
or define a ZF2_PATH environment variable.' in C:\xampp\htdocs\ZendSkeletonApplication\init_autoloader.php:51 Stack trace: #0 C:\xampp\htdocs\ZendSkeletonApplication\public\index.php(18): require() #1 {main} thrown in C:\xampp\htdocs\ZendSkeletonApplication\init_autoloader.php on line 51
as the exception states. I went on to run the command php composer.phar install and nothing happens. nothing displays on th cli to showing anything being installed. and when i run again application i get the same error. Where else can I look and check for errors. Thanks I am using PHP Version 5.6.8
C:\xampp\htdocs\ZendSkeletonApplication
in your case). Tryphp composer.phar --version
,php composer.phar --help
to see if they give you anything. Might also be worth adding your php version to you question:php -v
– Tim Fountainphp composer.phar -vvv install
? – Tim Fountain