Skip to Main Content

DevOps, CI/CD and Automation

Announcement

For appeals, questions and feedback about Oracle Forums, please email oracle-forums-moderators_us@oracle.com. Technical questions should be asked in the appropriate category. Thank you!

how to install PEAR on Linux server

ShellyAug 18 2009 — edited Sep 23 2009
Hi
I have PHP installed on one linux server and developers are using it already. I have been given the task to get the oci8 (oracle connectivity) done on this same server. I can not do the reinstall of whole PHP again. During the install of OCI extention I got many errors for missing PEAR files.
So I went through the PEAR document and found "php go-pear.php" command to install the PEAR package. This command fails with below error.

download of http://pear.php.net/get/PEAR?uncompress=yes failed: Failed to parse address "" (0)

The problem is this Linux box does not have direct internet connectivity so I had to download all the required packages as per go-pear.php on my local machine and I am FTPing them to this linux box. I have kept the "PEAR-1.8.1.tar" file in the same directory where go-pear.php file exists but still the above command tries to download it from internet.
Could you please tell me how can I overcome this problem. Please let me know if there are any RPM's that I can use to install PEAR rather that "php go-pear.php" command.

Thanks
Shelly
Comments
Locked Post
New comments cannot be posted to this locked post.
Post Details
Locked on Oct 21 2009
Added on Aug 18 2009
9 comments
5,539 views