Search code examples
phphtmlwampzune

How to get zend to initialize? I'm having difficulty


Before you thumb me down for being idiot help me understand why it's spitting errors. I am new to Zune and it does not seem to be intuitive.

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:\wamp\www\ZendSkeletonApplication-master\init_autoloader.php on line 51

RuntimeException: Unable to load ZF2. Run php composer.phar install or define a ZF2_PATH environment variable. in C:\wamp\www\ZendSkeletonApplication-master\init_autoloader.php on line 51

I don't get why I need to be a level 10 magical elf to be able to upload an image to illustrate my issue.


Solution

  • You should open a cmd window and change directory to your project. You then need to type the following:

    php composer.phar install
    

    This should handle dependencies