我正在尝试使用 pyrus 安装 zend 框架 2,但在 pyrus install 上出现一个奇怪的错误:Pyrus\Config\Exception: Unable to parse invalid PEAR configuration at "."
Pyrus\Config\Exception: Document is empty
Pyrus\Config\Exception: Start tag expected, '<' not found
我的配置是:
<?xml version="1.0"?>
<pearconfig version="1.0">
<default_channel>pear2.php.net</default_channel>
<auto_discover>0</auto_discover>
<http_proxy></http_proxy>
<cache_dir>~/.pear/cache</cache_dir>
<temp_dir>~/.pear/temp</temp_dir>
<verbose>1</verbose>
<preferred_state>stable</preferred_state>
<umask>0022</umask>
<cache_ttl>3600</cache_ttl>
<my_pear_path>.</my_pear_path>
<plugins_dir>/home/sebastian/.pear</plugins_dir>
</pearconfig>
有人可以帮我弄清楚这有什么问题吗?