Buenas, estoy intentando crear mi primer Bundle en Symfony2 y a la hora de hacer en línea de comando php app/check.php me sale la siguiente lista de errores.
Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /Applications/MAMP/htdocs/symblog/app/SymfonyRequirements.php on line 434
Warning: date_default_timezone_get(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'Europe/Berlin' for 'CET/1.0/no DST' instead in /Applications/MAMP/htdocs/symblog/app/SymfonyRequirements.php on line 435
* WARNING: No configuration file (php.ini) used by PHP!
** ATTENTION **
* The PHP CLI can use a different php.ini file
* than the one used with your web server.
* 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.3.15 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
ERROR date.timezone setting must be set
Set the "date.timezone" setting in php.ini* (like Europe/Paris).
OK Configured default timezone "Europe/Berlin" must be supported by your installation 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
ERROR detect_unicode must be disabled in php.ini
Set detect_unicode to off in php.ini*.
OK PCRE extension must be available
** Optional recommendations **
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 versions
OK When using annotations you should have at least PHP 5.3.8 due to PHP bug #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.02 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 posix_isatty() should be available
WARNING intl extension should be available
Install and enable the intl extension (used for validators).
WARNING a PHP accelerator should be installed
Install and enable a PHP accelerator like APC (highly recommended).
WARNING short_open_tag should be disabled in php.ini
Set short_open_tag to off in php.ini*.
WARNING magic_quotes_gpc should be disabled in php.ini
Set magic_quotes_gpc to off 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, pgsql, sqlite, sqlite2)
Me he centrado en los 3 últimos del php.ini, lo he modificado el .ini y no ocurre nada sigue apareciendo lo mismo y ya no sé que más hacer incluso he creado un script en php y no me vale para nada.
Pero continuo haciendo el check a symfony y me continua dando error, incluso he probado meterle un script en php para el tema de magic_quotes_gpc y no me lo pilla, he pillado todos los php.ini del ordenador y los he modificado, y nada, también he reiniciado el ordenador y la terminal desde donde hago las comprobaciones donde veo si el check funciona y nada.