473,395 Members | 1,639 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,395 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 1925
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: 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
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.