473,387 Members | 1,528 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

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 1923
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

5
by: me | last post by:
Recent articles have got me looking at PEAR again. Because it is not always available, is it worth getting tied to? After all, if I write for it and it isn't there, my code won't work.
3
by: Jan Holland | last post by:
I am trying to install pear on a shared server/host following the instructions from: <http://uk.builder.com/architecture/web/0,39026570,20283197,00.htm> So I made a subdir on my site like:...
1
by: Greg | last post by:
I am trying to set up a local verion of Pear in my shared account, which my host said I can do. I have SSH access, and I followed all the instructions in the Pear Manual for setting up a local copy...
3
by: elektrophyte | last post by:
If your site is on a shared host and you don't have shell access so you have to just kind of use whatever they got, you can't install PEAR modules, right? This is one thing that confuses me about...
2
by: webguynow | last post by:
As I am using a shared host, and found out they have some Pear Pkgs but not Smarty, I went to install Pear locally in my area. I was under the assumption that I should install this Pear dir...
0
by: webguynow | last post by:
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 ...
0
by: awebguynow | last post by:
The manual gives all assurances of how easy this is, and it might be. What I thought was strange was, this line: "Pick a location to store your local copy of the remote code. " ex: uses ...
2
by: awebguynow | last post by:
latest PEAR on W32, refers to PHP5 inaccurately. I've seen posts regarding path's that get messed up, by lost ini's or registry settings. I don't think that's my case, because I can't find PHP5 in...
4
by: awebguynow | last post by:
Re: only got "pear.old_bat" I had a previous post ".. Upgrade Methods ..." and so far I've gotten around most thorny issues, including patching php5.1.4 with php5apache2_2.dll so I can run it...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.