Verificando a configurações do servidor web para compatibilidade do Symfony

Para verificar se seu servidor web é compatível com o linux existe um script muito útil que verifica isso pra nós.

baixe o arquivo direto do repositório svn.
wget http://trac.symfony-project.org/browser/branches/1.2/data/bin/check_configuration.php?format=raw

**atenção:** a versão do symfony é especificada na url, neste caso é 1.2.

agora rode o arquivo e acesse via navegador pois ambos devem estar ok.

# php check_configuration.php

a saída é:


********************************
* *
* 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