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 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 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 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 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 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 Link to comment https://forums.phpfreaks.com/topic/278422-unable-to-load-zf2/#findComment-1432676 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.