470,648 Members | 1,384 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 470,648 developers. It's quick & easy.

Pear CLI install on shared host

I've installed PEAR in my local area, on my shared host, under htdocs
but I'm anticipating a number of issues.

I'm forcing use of PHP5 with an .htaccess file, but by default the
host runs PHP4
That could mean that pear is installed under the php4/ area, but not
php5 ?

go-pear prompted me to install a number of packages, including DB,
which my webhost already has made available. If I do install DB using
go-pear, which DB will take precedence?
go-pear and pear have worked well on my local machine,
but after using browser to run go-pear on my webhost, and also
WebInstaller.php I got:

Fatal error: Class 'PEAR_Frontend_CLI' not found in
/usr/local/php5/PEAR/Command.php on line 144

I have FTP access, but not shell access.

I've read webpages, from the following links, that seemed helpful:
http://www.phpexamples.net/component...on.shared.html
***
http://www.phpkitchen.com/index.php?...Installer.html

I also note pear.conf in my htdocs ( where I ran go-pear.php from
)

I also confer with my host, hopefully they don't have any opposition,
to me installing locally PEAR Pkgs that they do not supply.

Searching for solutions, any suggestions maybe helpful. Thanks

Nov 30 '05 #1
1 1769
Its hard for me to believe that 1000's of other developers have not had
this problem. And I was hoping for some support on this.

At this point, I have 2 options
-Continue to pursue a local installation on my WebHost's shared Server
-Write my own Template module, which I've seen done both in PHP and
Java

a good example, I just saw yesterday at:
http://codewalkers.com/tutorials/58/1.html
"Writing a Template System in PHP"

I'll review and my next post will be along these lines:
"Smarty vs. MyOwnTemplate"

Dec 1 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by me | last post: by
3 posts views Thread by Jan Holland | last post: by
1 post views Thread by Greg | last post: by
3 posts views Thread by elektrophyte | last post: by
2 posts views Thread by webguynow | last post: by
reply views Thread by webguynow | last post: by
reply views Thread by awebguynow | last post: by
2 posts views Thread by awebguynow | last post: by
4 posts views Thread by awebguynow | last post: by
reply views Thread by warner | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.