Warning: file_get_contents(__DIR__/../vendor/sensio/distribution-bundle/Sensio/Bundle/DistributionBundle/Resources/skeleton/app/SymfonyRequirements.php) [function.file-get-contents]: failed to open stream: No such file or directory in /home/babak/symfony/2/app/SymfonyRequirements.php on line 534
********************************
* *
* Symfony requirements check *
* *
********************************
* Configuration file used by PHP: /etc/php5/apache2/php.ini
** 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 **
ERROR PHP version must be at least 5.3.3 (5.2.0-8+etch16 installed)
Install PHP 5.3.3 or newer (installed version is 5.2.0-8+etch16)
OK PHP version must not be 5.3.16 as Symfony won't work properly with it
ERROR Vendor libraries must be installed
Vendor libraries are missing. Install composer following instructions from http://getcomposer.org/. Then run "php composer.phar install" to install them.
ERROR __DIR__/cache/ directory must be writable
Change the permissions of the "__DIR__/cache/" directory so that the web server can write into it.
ERROR __DIR__/logs/ directory must be writable
Change the permissions of the "__DIR__/logs/" directory so that the web server can write into it.
ERROR date.timezone setting must be set
Set the "date.timezone" setting in php.ini* (like Europe/Paris).
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 detect_unicode must be disabled in php.ini
ERROR PCRE extension must be available
Install the PCRE extension (version 8.0+).
** Optional recommendations **
WARNING Requirements file should be up-to-date
Your requirements file is outdated. Run composer install and re-check your configuration.
WARNING You should use at least PHP 5.3.4 due to PHP bug #52083 in earlier versions
Your project might malfunction randomly due to PHP bug #52083 ("Notice: Trying to get property of non-object"). Install PHP 5.3.4 or newer.
WARNING When using annotations you should have at least PHP 5.3.8 due to PHP bug #55156
Install PHP 5.3.8 or newer if your project uses annotations.
OK You should not use PHP 5.4.0 due to the PHP bug #61453
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)