magento提示Exception printing is disabled by default for security reasons.

安装时出现
Exception printing is disabled by default for security reasons.

解决方法: 改变magento根目录下 /errors/local.xml.sample 为/errors/local.xml
改变magento根目录下/lib/Zend/Cache/Backend/File.php文件里面
protected $_options = array(
        'cache_dir' => NULL,
        'file_locking' => true,

protected $_options = array(
        'cache_dir' => 'var/tmp/',
        'file_locking' => true,

然后在根目录下创建tmp文件夹