PEAR Installation

Status
Not open for further replies.

lanky8804

Dabbler
Joined
Jan 12, 2014
Messages
24
Hi

i am trying to install PEAR to my jail but am having issues was wondering whether anyone had any experience of this package?

http://pear.php.net/

I already have PHP, mySQL and Apache installed.

Thanks
 
D

dlavigne

Guest
Please post the commands you used and the errors you're getting.
 

lanky8804

Dabbler
Joined
Jan 12, 2014
Messages
24
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:/ #
 

lanky8804

Dabbler
Joined
Jan 12, 2014
Messages
24
This is how far ive got so far with NewzNab
 

Attachments

  • Screen Shot 2014-01-12 at 15.32.35.JPG
    Screen Shot 2014-01-12 at 15.32.35.JPG
    175.2 KB · Views: 318
D

dlavigne

Guest
For the dependencies, it is easiest to install them using pkgs/ports, and once the dependencies are met, to try the install script. There is a port/pkg for pear at devel/pear.
 

lanky8804

Dabbler
Joined
Jan 12, 2014
Messages
24
Thanks,

Got PEAR installed using following commands

Code:
cd /usr/ports/devel/pear
make install
 
Status
Not open for further replies.
Top