Ver Mensaje Individual
  #1 (permalink)  
Antiguo 05/07/2013, 06:30
thenine
 
Fecha de Ingreso: mayo-2007
Mensajes: 44
Antigüedad: 17 años
Puntos: 0
Problemas instalación Symfony

Hola,

estoy teniendo bastantes problemas con la instalación de symfony.

Estoy siguiendo el libro de Javier Eguiluz.

Tengo windows 2003 Server.

He instalado WAMP con las siguientes versiones:
PHP 5.4.3
Apache 2.2.22
MySql 5.5.24

He activado las siguientes extensiones de php
- php_openssl.dll (habilitandola tambien en el php.ini del directorio donde está instalado el php)
- php_apc.dll
añadiendo lo siguiente al php.ini
Código:
extensions=php_apc.dll

	[APC]
	apc.enabled = 1
	apc.shm_segments = 1
	apc.shm_size = 128M
	apc.max_file_size = 10M
	apc.stat = 1
- php_intl.dll

He instalado GIT y composer en su versión para windows

He descargado la version 2.1.3 de Symfony SIN vendors y la he descomprimido en el directorio www del wamp

PRIMER problema.

Entro en la consol de GIT, me voy al directorio donde he descomprimido symfony
"C:\wamp\www\Symfony"
y ejecuto el siguiente comando para


Código HTML:
$ composer install
Loading composer repositories with package information
Installing dependencies (including require-dev) from lock file
  - Installing twig/twig (v1.13.0)
    Downloading: 100%
    Downloading: 100%
    Downloading: 100%



  [Composer\Downloader\TransportException]
  The "https://api.github.com/repos/fabpot/Twig/zipball/v1.13.0" file could n
  ot be downloaded: failed to open stream: Se produjo un error durante el int
  ento de conexi¾n ya que la parte conectada no respondi¾ adecuadamente tras

  un periodo de tiempo, o bien se produjo un error en la conexi¾n establecida

   ya que el host conectado no ha podido responder.




install [--prefer-source] [--prefer-dist] [--dry-run] [--dev] [--no-dev] [--no-c
ustom-installers] [--no-scripts] [--no-progress] [-v|vv|vvv|--verbose] [-o|--opt
imize-autoloader]
SEGUNDO problema

pues como no me deja instalar los vendors pues me bajo la version CON vendors

ejecuto dentro del directorio Symfony el siguiente comando

Código HTML:
$ php app/check.php
********************************
*                              *
*  Symfony requirements check  *
*                              *
********************************

* Configuration file used by PHP: C:\wamp\bin\php\php5.4.3\php.ini

** ATTENTION **
*  The PHP CLI can use a different php.ini file
*  than the one used with your web server.
*  (especially on the Windows platform)
*  To be on the safe side, please also launch the requirements check
*  from your web server using the web/config.php script.

** Mandatory requirements **

 OK       PHP version must be at least 5.3.3 (5.4.3 installed)
 OK       PHP version must not be 5.3.16 as Symfony won't work properly with it
 OK       Vendor libraries must be installed
 OK       app/cache/ directory must be writable
 OK       app/logs/ directory must be writable
 OK       date.timezone setting must be set
 OK       Configured default timezone "UTC" must be supported by your installati
on of PHP
 OK       json_encode() must be available
 OK       session_start() must be available
 OK       ctype_alpha() must be available
 OK       token_get_all() must be available
 OK       simplexml_import_dom() must be available
 OK       APC version must be at least 3.0.17
 OK       detect_unicode must be disabled in php.ini
 OK       xdebug.show_exception_trace must be disabled in php.ini
 OK       xdebug.scream must be disabled in php.ini
 OK       PCRE extension must be available

** Optional recommendations **

 OK       xdebug.max_nesting_level should be above 100 in php.ini
 OK       Requirements file should be up-to-date
 OK       You should use at least PHP 5.3.4 due to PHP bug #52083 in earlier ver
sions
 OK       When using annotations you should have at least PHP 5.3.8 due to PHP b
ug #55156
 OK       You should not use PHP 5.4.0 due to the PHP bug #61453
 OK       PCRE extension should be at least version 8.0 (8.12 installed)
 OK       PHP-XML module should be installed
 OK       mb_strlen() should be available
 OK       iconv() should be available
 OK       utf8_decode() should be available
 OK       intl extension should be available
 OK       intl extension should be correctly configured
 OK       intl ICU version should be at least 4+
 OK       a PHP accelerator should be installed
 OK       short_open_tag should be disabled in php.ini
 OK       magic_quotes_gpc should be disabled in php.ini
 OK       register_globals should be disabled in php.ini
 OK       session.auto_start should be disabled in php.ini
 OK       PDO should be installed
 OK       PDO should have some drivers installed (currently available: mysql, sq
lite)
Parece que todo esta perfecto, pues ahora voy a mi navegador y escribo:

http://localhost/Symfony/web/app_dev.php

y se queda el navegador con el mensaje abajo "Esperando localhost...."

pasa igual con app.php y config.php


Podéis ayudarme llevo ya cuatro días instalando, desinstalando y ya no se que hacer.




Salu2