我正在尝试让Symfony2在我的共享虚拟主机上运行,但是当我运行app / console时会出现段错误。这是默认的Symfony2 2.0.16安装。
[kadaan@webhost Symfony]$ php app/console
Segmentation fault
[kadaan@webhost Symfony]$ php -v
PHP 5.3.13 (cgi-fcgi) (built: May 8 2012 17:05:11)
Copyright (c) 1997-2012 The PHP Group
Zend Engine v2.3.0, Copyright (c) 1998-2012 Zend Technologies
我是所有文件的所有者,并且它们都是全局可读的。我无法访问apache日志,因此无法检查其中有用的内容。
这是Symfony的check.php的输出,如果有用的话:
** Mandatory requirements **
OK Checking that PHP version is at least 5.3.2 (5.3.13 installed)
OK Checking that the "date.timezone" setting is set
OK Checking that app/cache/ directory is writable
OK Checking that the app/logs/ directory is writable
OK Checking that the json_encode() is available
OK Checking that the SQLite3 or PDO_SQLite extension is available
OK Checking that the session_start() is available
OK Checking that the ctype_alpha() is available
OK Checking that the token_get_all() is available
OK Checking that the APC version is at least 3.0.17
** 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 the intl extension is available: FAILED
*** Install and enable the intl extension (used for validators) ***
[[WARNING]] Checking 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 ***
[[WARNING]] Checking that php.ini has magic_quotes_gpc set to off: FAILED
*** Set magic_quotes_gpc to off in php.ini ***
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 (Doctrine) **
OK Checking that PDO is installed
OK Checking that PDO has some drivers installed: mysql, sqlite, sqlite2
有没有其他人解决过这个问题,或者可以指点我要检查什么?