Yohanne Posted May 27, 2013 Share Posted May 27, 2013 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 Quote Link to comment https://forums.phpfreaks.com/topic/278422-unable-to-load-zf2/ Share on other sites More sharing options...
Yohanne Posted May 27, 2013 Author Share Posted May 27, 2013 i used latest version of zendFwork and skeleton app from gethub Quote Link to comment https://forums.phpfreaks.com/topic/278422-unable-to-load-zf2/#findComment-1432490 Share on other sites More sharing options...
ignace Posted May 27, 2013 Share Posted May 27, 2013 (edited) You need composer Then run: $ php composer.phar installIf 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 May 27, 2013 by ignace Quote Link to comment https://forums.phpfreaks.com/topic/278422-unable-to-load-zf2/#findComment-1432556 Share on other sites More sharing options...
Yohanne Posted May 28, 2013 Author Share Posted May 28, 2013 okay. but i already installed the composer through thre app. and i installed the composer through this path c:/wamp/bin/php/php5.3.8/php.exe, and i don't know if it is correct, please help Quote Link to comment https://forums.phpfreaks.com/topic/278422-unable-to-load-zf2/#findComment-1432673 Share on other sites More sharing options...
Yohanne Posted May 28, 2013 Author Share Posted May 28, 2013 but somehow i try as you said above. like this C:\wamp\bin\php\php5.3.8\php.exe composer.phar install and i get this: Could not open input file:composer.install Quote Link to comment https://forums.phpfreaks.com/topic/278422-unable-to-load-zf2/#findComment-1432676 Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.