To check if your web server is compatible with symfony there is a useful script provided by Symfony team that test it for you.
download the file of svn repository.
# wget http://trac.symfony-project.org/browser/branches/1.2/data/bin/check_configuration.php?format=raw
**notice:** the symfony version is passed on url. In this case it's 1.2.
Now run the file with bellow command and test it accessing by browser and both must be OK.
# php check_configuration.php
the output is:
********************************
* symfony requirements check *
********************************
php.ini used by PHP: /etc/php.ini
** WARNING **
* The PHP CLI can use a different php.ini file
* than the one used with your web server.
* If this is the case, please launch this
* utility from your web server.
** WARNING **
** Mandatory requirements **
OK PHP version is at least 5.2.4
OK php.ini has zend.ze1_compatibility_mode set to off
** Optional checks **
OK PDO is installed
OK PDO has some drivers installed: mysql, odbc, pgsql, sqlite
OK PHP-XML module is installed
OK XSL module is installed
OK The token_get_all() function is available
OK The mb_strlen() function is available
OK The iconv() function is available
OK The utf8_decode() is available
[[WARNING]] A PHP accelerator is installed: FAILED
*** Install a PHP accelerator like APC (highly recommended) ***
[[WARNING]] php.ini has short_open_tag set to off: FAILED
*** Set it to off in php.ini ***
OK php.ini has magic_quotes_gpc set to off
[[WARNING]] php.ini has register_globals set to off: FAILED
*** Set it to off in php.ini ***
OK php.ini has session.auto_start set to off