You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
PEAR 1 was giving me trouble, so I tried using PEAR 2.
Trace:
$ curl http://pear2.php.net/pyrus.phar
$ php pyrus.phar install phpmd
Pyrus version 2.0.0a4 SHA-1: 72271D92C3AA1FA96DF9606CD538868544609A52
Pyrus: No user configuration file detected
It appears you have not used Pyrus before, welcome! Initialize install?
Please choose:
yes
no
[yes] :
Great. We will store your configuration in:
/Users/andrew/.pear/pearconfig.xml
Where would you like to install packages by default?
[/Users/andrew] :
You have chosen:
/Users/andrew
Pyrus\Config\Exception: Unable to parse invalid PEAR configuration at "/Users/andrew"
Pyrus\Config\Exception: Document is empty
Pyrus\Config\Exception: Start tag expected, '<' not found
System:
$ specs php os
Specs:
specs 0.7
https://github.com/mcandre/specs#readme
pear version
PEAR Version: 1.9.4
PHP Version: 5.4.17
Zend Engine Version: 2.4.0
Running on: Darwin mockingjay.westell.com 13.0.0 Darwin Kernel Version 13.0.0: Thu Sep 19 22:22:27 PDT 2013; root:xnu-2422.1.72~6/RELEASE_X86_64 x86_64
php --version
PHP 5.4.17 (cli) (built: Aug 25 2013 02:03:38)
Copyright (c) 1997-2013 The PHP Group
Zend Engine v2.4.0, Copyright (c) 1998-2013 Zend Technologies
system_profiler SPSoftwareDataType | grep 'System Version'
System Version: OS X 10.9 (13A603)
The text was updated successfully, but these errors were encountered:
This appears to happen when you respond that you would like the modules installing at your home directory under OS X. If you ask for /Users/youraccount/pear instead, where pear is a non existent subdirectory then it will complete. Perform a rm -r ~/.pear* to remove the corrupted configuration in the home directory.
PEAR 1 was giving me trouble, so I tried using PEAR 2.
Trace:
System:
The text was updated successfully, but these errors were encountered: