Ver Mensaje Individual
  #1 (permalink)  
Antiguo 26/09/2012, 07:11
Avatar de ramiro_md
ramiro_md
 
Fecha de Ingreso: septiembre-2008
Mensajes: 274
Antigüedad: 15 años, 8 meses
Puntos: 26
Problemas configurando PHP para Symfony2

Buenas, estoy empezando a usar este framework y al ejecutar:
Cita:
php app/check.php
Me devuelve un error y un warning:
Cita:
ERROR date.timezone setting must be set
Set the "date.timezone" setting in php.ini* (like Europe/Paris).

ERROR Configured default timezone "America/Buenos_Aires" must be supported by your installation of PHP
Your default timezone is not supported by PHP. Check for typos in your php.ini file and have a look at the list of deprecated timezones at http://php.net/manual/en/timezones.others.php.
WARNING short_open_tag should be disabled in php.ini
Set short_open_tag to off in php.ini*.
Busque la localización de mi php.ini mediate la función phpinfo(), y me devolvió la siguiente ubicación: /etc/php5/apache2/php.ini

Realice estos cambios en dicho archivo:
Cita:
date.timezone = America/Buenos_Aires
short_open_tag = Off
Reinicio apache2 y vuelvo a ejecutar "php app/check.php" pero los errores persiste.
Alguna sugerencia ?