=')) { $version = phpversion(); $majorProblems[] = <<$version", but Symfony needs at least PHP "5.3.2" to run. Before using Symfony, install PHP "5.3.2" or newer. EOF; } if (!is_writable(__DIR__ . '/../app/cache')) { $majorProblems[] = 'Change the permissions of the "app/cache/" directory so that the web server can write into it.'; } if (!is_writable(__DIR__ . '/../app/logs')) { $majorProblems[] = 'Change the permissions of the "app/logs/" directory so that the web server can write into it.'; } // extensions if (!class_exists('DomDocument')) { $minorProblems[] = 'Install and enable the php-xml module.'; } if (!defined('LIBXML_COMPACT')) { $minorProblems[] = 'Upgrade your php-xml extension with a newer libxml.'; } if (!((function_exists('apc_store') && ini_get('apc.enabled')) || function_exists('eaccelerator_put') && ini_get('eaccelerator.enable') || function_exists('xcache_set'))) { $minorProblems[] = 'Install and enable a PHP accelerator like APC (highly recommended).'; } if (!(!(function_exists('apc_store') && ini_get('apc.enabled')) || version_compare(phpversion('apc'), '3.0.17', '>='))) { $majorProblems[] = 'Upgrade your APC extension (3.0.17+)'; } if (!function_exists('token_get_all')) { $minorProblems[] = 'Install and enable the Tokenizer extension.'; } if (!function_exists('mb_strlen')) { $minorProblems[] = 'Install and enable the mbstring extension.'; } if (!function_exists('iconv')) { $minorProblems[] = 'Install and enable the iconv extension.'; } if (!function_exists('utf8_decode')) { $minorProblems[] = 'Install and enable the XML extension.'; } if (PHP_OS != 'WINNT' && !function_exists('posix_isatty')) { $minorProblems[] = 'Install and enable the php_posix extension (used to colorize the CLI output).'; } if (!class_exists('Locale')) { $minorProblems[] = 'Install and enable the intl extension.'; } else { $version = ''; if (defined('INTL_ICU_VERSION')) { $version = INTL_ICU_VERSION; } else { $reflector = new \ReflectionExtension('intl'); ob_start(); $reflector->info(); $output = strip_tags(ob_get_clean()); preg_match('/^ICU version (.*)$/m', $output, $matches); $version = $matches[1]; } if (!version_compare($version, '4.0', '>=')) { $minorProblems[] = 'Upgrade your intl extension with a newer ICU version (4+).'; } } if (!class_exists('SQLite3') && !in_array('sqlite', PDO::getAvailableDrivers())) { $majorProblems[] = 'Install and enable the SQLite3 or PDO_SQLite extension.'; } if (!function_exists('json_encode')) { $majorProblems[] = 'Install and enable the json extension.'; } if (!function_exists('session_start')) { $majorProblems[] = 'Install and enable the session extension.'; } if (!function_exists('ctype_alpha')) { $majorProblems[] = 'Install and enable the ctype extension.'; } // php.ini if (!ini_get('date.timezone')) { $phpini = true; $majorProblems[] = 'Set the "date.timezone" setting in php.ini* (like Europe/Paris).'; } if (ini_get('short_open_tag')) { $phpini = true; $minorProblems[] = 'Set short_open_tag to off in php.ini*.'; } if (ini_get('magic_quotes_gpc')) { $phpini = true; $minorProblems[] = 'Set magic_quotes_gpc to off in php.ini*.'; } if (ini_get('register_globals')) { $phpini = true; $minorProblems[] = 'Set register_globals to off in php.ini*.'; } if (ini_get('session.auto_start')) { $phpini = true; $minorProblems[] = 'Set session.auto_start to off in php.ini*.'; } ?> Symfony Configuration

Welcome!

Welcome to your new Symfony project.

This script will guide you through the basic configuration of your project. You can also do the same by editing the ‘app/config/parameters.ini’ file directly.

Major problems

Major problems have been detected and must be fixed before continuing :

Recommendations

Additionally, to To enhance your Symfony experience, it’s recommended that you fix the following :

* Changes to the php.ini file must be done in "". To change settings, create a "php.ini".

Symfony Standard Edition