Jump to content

Recommended Posts

Hi all.

 

this is my first time in ZF and i have no any idea if how to fix it .. could you please assist and help me how to fix this problem. im using local server the wamp. and i got the following.

-

 

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\zendy\init_autoloader.php on line 48

 

RuntimeException: Unable to load ZF2. Run `php composer.phar install` or define a ZF2_PATH environment variable. in C:\wamp\www\zendy\init_autoloader.php on line 48

 

 

 

Link to comment
https://forums.phpfreaks.com/topic/278422-unable-to-load-zf2/
Share on other sites

You need composer

 

Then run:

$ php composer.phar install
If that doesn't work then find out where in C:\wamp your php.exe resides copy the path and run it like:

$ C:\wamp\php\bin\php.exe composer.phar install
Edited by ignace
Link to comment
https://forums.phpfreaks.com/topic/278422-unable-to-load-zf2/#findComment-1432556
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.