動作環境確認をコマンドラインで

動作環境確認用のcheck.phpはコマンドラインでも動くみたい

$ php web/check.php
********************************
*                              *
*  Symfony requirements check  *
*                              *
********************************

php.ini used by PHP: /etc/php5/cli/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 ALSO launch this
*  utility from your web server.
** WARNING **

** Mandatory requirements **

  OK        Checking that PHP version is at least 5.3.2 (5.3.2-1ubuntu4.5 installed)
  OK        Checking that the "date.timezone" setting is set
  OK        Checking that cache/ directory is writable
  OK        Checking that the logs/ directory is writable

** Optional checks **

  OK        Checking that the PHP-XML module is installed
  OK        Checking that the token_get_all() function is available
  OK        Checking that the mb_strlen() function is available
  OK        Checking that the iconv() function is available
  OK        Checking that the utf8_decode() is available
  OK        Checking that the posix_isatty() is available


[[WARNING]] Checking that that a PHP accelerator is installed: FAILED
            *** Install a PHP accelerator like APC (highly recommended) ***


[[WARNING]] Checking that php.ini has short_open_tag set to off: FAILED
            *** Set short_open_tag to off in php.ini ***
  OK        Checking that php.ini has magic_quotes_gpc set to off
  OK        Checking that php.ini has register_globals set to off
  OK        Checking that php.ini has session.auto_start set to off

** Optional checks (Propel/Doctrine) **

  OK        Checking that PDO is installed
  OK        Checking that PDO has some drivers installed: mysql, pgsql, sqlite, sqlite2


[[WARNING]] Checking that XSL module is installed: FAILED
            *** Install the XSL module (recommended for Propel) ***

あ、なんか警告でてる...