PEAR Forum :: PHP Extension and Application Repository

PEAR Forum Forum Index
 FAQFAQ   SearchSearch   MemberlistMemberlist   RegisterRegister   ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
How to Install PEAR packages on a Linux Server

 
Post new topic   Reply to topic    PEAR Forum Forum Index -> Installation, Upgrading & Configuration
View previous topic :: View next topic  
Author Message
devashanti



Joined: 30 Dec 2010
Posts: 4
Location: Oregon

PostPosted: Thu Dec 30, 2010 7:51 pm    Post subject: How to Install PEAR packages on a Linux Server Reply with quote

I'm new. I have been using PEAR library packages in my PHP programing for many years. I've never installed the packages before as it was done by my host provider. The host provider I used for five years recently had technical problems that caused many of my client websites to be down multiple times over the past few weeks. I can't afford this and immediately shopped for a new host provider.

I am developing a SaaS product and needed more control of the server anyways so I went with a GoDaddy virtual dedicated server. The problem is that I need to install the PEAR packages myself and am not sure how to do it.

I have SSH root access to the server. The GoDaddy instructions say I can use YUM or RPM to install the packages I need. But when I use the command: yum info PEAR in PuTTY as instructed I get Error: No matching Packages to list

The PEAR website says that PEAR installer is included:

http://pear.php.net/manual/en/installation.introduction.php
The base installation that comes with the PHP distribution contains all the stuff that is needed to run the PEAR installation tools etc. If you have a recent installation of PHP, you can relax: The PEAR base installation is already there - unless you have compiled your PHP with the ./configure flag --without-pear.

The server was installed with PHP 5 by GoDaddy so this means the PEAR installer should be there. I don't know where to find the configure flag mentioned above. Can anyone help me?

It is a linux server with cpanel installed.
_________________
D. Subra
http://sai-database-experts.com
Back to top
View user's profile Send private message
devashanti



Joined: 30 Dec 2010
Posts: 4
Location: Oregon

PostPosted: Thu Dec 30, 2010 9:13 pm    Post subject: A little more information Reply with quote

I'm using PuTTy to make my SSL connection to the server - I'm not super familiar with the PuTTy commands and am looking up information online to try to read files I see in my root directory structure. I used the command below to read a file named ".pearrc" in my root. This is what is in the file. Does this tell me anything helpful?

[email protected] [~]# more .pearrc
#PEAR_Config 0.9
a:5:{s:10:"__channels";a:2:{s:12:"pecl.php.net";a:0:{}s:5:"__uri";a:0:{}}s:9:"ca
che_dir";s:20:"/root/tmp/pear/cache";s:7:"php_ini";s:22:"/usr/local/lib/php.ini"
;s:8:"temp_dir";s:14:"/root/tmp/pear";s:12:"download_dir";s:20:"/root/tmp/pear/c
ache";}
_________________
D. Subra
http://sai-database-experts.com
Back to top
View user's profile Send private message
devashanti



Joined: 30 Dec 2010
Posts: 4
Location: Oregon

PostPosted: Thu Dec 30, 2010 9:20 pm    Post subject: OK more information... Reply with quote

I followed the path referenced in my last reply and found the "pear" sub-directory in the "tmp" directory. There are a bunch of files in there. Can anyone tell me what these are? It looks like at least some part of the PEAR libraries are installed. Does this give anyone out there enough information to help me?

[email protected] [~]# cd tmp
[email protected] [~/tmp]# ls
./ ../ pear/
[email protected] [~/tmp]# cd pear
[email protected] [~/tmp/pear]# ls
./ ../ cache/
[email protected] [~/tmp/pear]# cd cache
[email protected] [~/tmp/pear/cache]# ls
./
../
073a75906df5cc5991b84d14c1b1e6e0rest.cachefile
073a75906df5cc5991b84d14c1b1e6e0rest.cacheid
077737bf979596d908fa5a51ec164d77rest.cachefile
077737bf979596d908fa5a51ec164d77rest.cacheid
13538351c4bc0c678cacc1d15c1f89fdrest.cachefile
13538351c4bc0c678cacc1d15c1f89fdrest.cacheid
18cea287df864f47a80f7ec0ae1d2eedrest.cachefile
18cea287df864f47a80f7ec0ae1d2eedrest.cacheid
1d7f3daac45ec513a51d298a6eae7e94rest.cachefile
1d7f3daac45ec513a51d298a6eae7e94rest.cacheid
20f86521169161957454981919f8d5carest.cachefile
20f86521169161957454981919f8d5carest.cacheid
2b26b748f47ba455633c74d5d108e9c7rest.cachefile
2b26b748f47ba455633c74d5d108e9c7rest.cacheid
2d8cae9ce1d11552bcb57b4f65466a8drest.cachefile
2d8cae9ce1d11552bcb57b4f65466a8drest.cacheid
2de331bc4e08eb5f23da98c830cc6f3erest.cachefile
2de331bc4e08eb5f23da98c830cc6f3erest.cacheid
2ec0e51f18176d104ec5601be6c0ee10rest.cachefile
2ec0e51f18176d104ec5601be6c0ee10rest.cacheid
321b62345eeffc33444e62d89b44c36crest.cachefile
321b62345eeffc33444e62d89b44c36crest.cacheid
3c1135e7fdbad6c104314d8ffe4dc975rest.cachefile
3c1135e7fdbad6c104314d8ffe4dc975rest.cacheid
3ea9a14b714487bc5d505a4b3f2a1d96rest.cachefile
3ea9a14b714487bc5d505a4b3f2a1d96rest.cacheid
3f5c8bd73acf76150517191516fa2abarest.cachefile
3f5c8bd73acf76150517191516fa2abarest.cacheid
45db75d7bf9c6a01854b4833f75cd8a3rest.cachefile
45db75d7bf9c6a01854b4833f75cd8a3rest.cacheid
51329f9c7f592d6d441ff216efb42b8brest.cachefile
51329f9c7f592d6d441ff216efb42b8brest.cacheid
526bf9605d1c7842d382a4bb81250c7arest.cachefile
526bf9605d1c7842d382a4bb81250c7arest.cacheid
587c2bed76b2e1aefa41eebd76fcb96brest.cachefile
587c2bed76b2e1aefa41eebd76fcb96brest.cacheid
640176661fe27cc8b0c3815884a1c3e4rest.cachefile
640176661fe27cc8b0c3815884a1c3e4rest.cacheid
66ff6515975f0b126570d91f29dd9210rest.cachefile
66ff6515975f0b126570d91f29dd9210rest.cacheid
694707dc7bd4cc093e37867ef2104e82rest.cachefile
694707dc7bd4cc093e37867ef2104e82rest.cacheid
69ff7b3a33ead79a64731dccce27949arest.cachefile
69ff7b3a33ead79a64731dccce27949arest.cacheid
6d1f6e892384ae452db9a1bd59ee95f5rest.cachefile
6d1f6e892384ae452db9a1bd59ee95f5rest.cacheid
6e489f7a258febfaac9050f72c42be24rest.cachefile
6e489f7a258febfaac9050f72c42be24rest.cacheid
74e784d4353d69d2bc670aba2570f952rest.cachefile
74e784d4353d69d2bc670aba2570f952rest.cacheid
794de227094726eb68a3e3ca841daa26rest.cachefile
794de227094726eb68a3e3ca841daa26rest.cacheid
88035dc8d332ad2ca4cb302d185d7f0frest.cachefile
88035dc8d332ad2ca4cb302d185d7f0frest.cacheid
8ecf97c03f6f3c9ea1abb7a277953c06rest.cachefile
8ecf97c03f6f3c9ea1abb7a277953c06rest.cacheid
918069141f849c2785a854dd9919fd19rest.cachefile
918069141f849c2785a854dd9919fd19rest.cacheid
9315abea6079b6ea9e953fe4c5debfecrest.cachefile
9315abea6079b6ea9e953fe4c5debfecrest.cacheid
9772b9d85453cb66a1e87cb75279c14frest.cachefile
9772b9d85453cb66a1e87cb75279c14frest.cacheid
979e15faae30ef79dea55d4b52e3d765rest.cachefile
979e15faae30ef79dea55d4b52e3d765rest.cacheid
Archive_Tar-1.3.7/
Archive_Tar-1.3.7.tgz
PEAR-1.9.1/
PEAR-1.9.1.tgz
Structures_Graph-1.0.4/
Structures_Graph-1.0.4.tgz
XML_RPC-1.5.4/
XML_RPC-1.5.4.tgz
XML_Util-1.2.1/
XML_Util-1.2.1.tgz
a45123337738caf8abdc15ede9c24a81rest.cachefile
a45123337738caf8abdc15ede9c24a81rest.cacheid
acb3fa36bab90fe474718c8a74b89f45rest.cachefile
acb3fa36bab90fe474718c8a74b89f45rest.cacheid
b1d9e888cb936f2c338cd369f6619659rest.cachefile
b1d9e888cb936f2c338cd369f6619659rest.cacheid
c41d3f350d51948ed686e99553bd89carest.cachefile
c41d3f350d51948ed686e99553bd89carest.cacheid
c4aad777a8dc378a9407a14daf7590b5rest.cachefile
c4aad777a8dc378a9407a14daf7590b5rest.cacheid
c8e02c3817c80f0a72b9d1740d153b9brest.cachefile
c8e02c3817c80f0a72b9d1740d153b9brest.cacheid
cb25ac312802f4d1bf7192405394d88arest.cachefile
cb25ac312802f4d1bf7192405394d88arest.cacheid
cb77cf519b4874bcd02f23577c5befd7rest.cachefile
cb77cf519b4874bcd02f23577c5befd7rest.cacheid
cebfc2db563cacd14abbf18f437cc384rest.cachefile
cebfc2db563cacd14abbf18f437cc384rest.cacheid
channel.xml
d4a0d237cc86237e76fb070bb9315657rest.cachefile
d4a0d237cc86237e76fb070bb9315657rest.cacheid
d6f1bd769e450d44854f2495bbb365ddrest.cachefile
d6f1bd769e450d44854f2495bbb365ddrest.cacheid
d97660c9e6d4f4a034052fc8b44a922drest.cachefile
d97660c9e6d4f4a034052fc8b44a922drest.cacheid
db76a8a03cb04516e14bd1e599d376a7rest.cachefile
db76a8a03cb04516e14bd1e599d376a7rest.cacheid
de7977eb5aa92131943d999d91e8cc83rest.cachefile
de7977eb5aa92131943d999d91e8cc83rest.cacheid
e99e87fd713c2863235f1a38ae5bf749rest.cachefile
e99e87fd713c2863235f1a38ae5bf749rest.cacheid
eeda191bf5a0dc05f318106540d52306rest.cachefile
eeda191bf5a0dc05f318106540d52306rest.cacheid
f2d3136a20e0e41d1e6dc7ef5a399058rest.cachefile
f2d3136a20e0e41d1e6dc7ef5a399058rest.cacheid
f8a87612fc6e7b721d24565e5ebe027drest.cachefile
f8a87612fc6e7b721d24565e5ebe027drest.cacheid
faaa1d14bc52f3dbb62481612c75628arest.cachefile
faaa1d14bc52f3dbb62481612c75628arest.cacheid
faea342fd87fdec1d86f522230325d03rest.cachefile
faea342fd87fdec1d86f522230325d03rest.cacheid
package.sig
package.xml
package2.xml
_________________
D. Subra
http://sai-database-experts.com
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    PEAR Forum Forum Index -> Installation, Upgrading & Configuration All times are GMT + 2 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



PEAR Forum topic RSS feed 
Powered by phpBB © 2001, 2005 phpBB Group

Provided by Ministry of Web developement