1st code: wget
http://pear.php.net/go-pear.phar
2nd code: php go-pear.phar
Gets stuck on XML Extension not found.
To give you some background i am attempting to install NewzNab
root@web:/ # wget
http://pear.php.net/go-pear.phar
--2014-01-12 15:21:52--
http://pear.php.net/go-pear.phar
Resolving pear.php.net (pear.php.net)... 5.77.39.20
Connecting to pear.php.net (pear.php.net)|5.77.39.20|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 4082712 (3.9M) [application/octet-stream]
Saving to: 'go-pear.phar.2'
100%[=================================================================================>] 4,082,712 5.15MB/s in 0.8s
2014-01-12 15:21:53 (5.15 MB/s) - 'go-pear.phar.2' saved [4082712/4082712]
root@web:/ # php go-pear.phar
Below is a suggested file layout for your new PEAR installation. To
change individual locations, type the number in front of the
directory. Type 'all' to change all of them or simply press Enter to
accept these locations.
1. Installation base ($prefix) : /usr/local
2. Temporary directory for processing : /tmp/pear/install
3. Temporary directory for downloads : /tmp/pear/install
4. Binaries directory : /usr/local/bin
5. PHP code directory ($php_dir) : /usr/local/share/pear
6. Documentation directory : /usr/local/docs
7. Data directory : /usr/local/data
8. User-modifiable configuration files directory : /usr/local/cfg
9. Public Web Files directory : /usr/local/www
10. Tests directory : /usr/local/tests
11. Name of configuration file : /usr/local/etc/pear.conf
1-11, 'all' or Enter to continue:
Beginning install...
XML Extension not found
root@web:/ #