I am trying to install zend framework 2 using pyrus but i get a strange error on 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
My config is :
<?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>
Can someone help me figure out what is wrong with this ?
There seems to be a pearconfig.xml
in your current directory. Is that the one you posted? If not, simply remove it.
Also try to find out which config it really tries to load, e.g. with strace:
$ strace -f -e trace=open pyrus get
One of the files is the config file it loads, and it's broken.