cd my/project/dir git clone git://github.com/zendframework/ZendSkeletonApplication.git cd ZendSkeletonApplication php composer.phar self-update php composer.phar install
Pero ahora el comando: "php composer.phar self-update" no me esta funcionando, me sale error, que no puede instalar, que el composer esta corrupto, estoy intentando instalar Doctrine ORM y no puedo :(.
La configuracion de mi composer.json es:
{ "name": "zendframework/skeleton-application", "description": "Skeleton Application for ZF2", "license": "BSD-3-Clause", "keywords": [ "framework", "zf2" ], "homepage": "http://framework.zend.com/", "require": { "php": ">=5.3.3", "zendframework/zendframework": "2.3.*" }, "minimum-stability": "dev", "require": { "doctrine/doctrine-orm-module": "dev-master", "hounddog/doctrine-data-fixture-module": "dev-master" } }
Cuando logro instalar Doctrine y deseo probar por mi navegador me sale este problema:
Fatal error: Uncaught exception 'RuntimeException' with message 'Unable to load ZF2. Run `php composer.phar install` or define a ZF2_PATH environment variable.' in D:\Desarrollo\WMB\MVC\Pagina\public_html\ZendSkeletonApplication\init_autoloader.php:53 Stack trace: #0 D:\Desarrollo\WMB\MVC\Pagina\public_html\ZendSkeletonApplication\public\index.php(14): require() #1 {main} thrown in D:\Desarrollo\WMB\MVC\Pagina\public_html\ZendSkeletonApplication\init_autoloader.php on line 53
No hay comentarios:
Publicar un comentario