Web Hosting Forum | Lunarpages
News: July 14, 2008 - New Contest! - Submit Your WordPress Theme Designs, Win BIG!
September 1, 2008 - Submit Your Web Site for the Sept 2008 Site of the Month!
 
*
Welcome, Guest. Please login or register.
Did you miss your activation email?
September 06, 2008, 06:39:24 PM


Login with username, password and session length


Pages: [1]   Go Down
  Print  
Author Topic: PEAR support  (Read 2964 times)
ironclive
Newbie
*
Offline Offline

Posts: 4


WWW
« on: August 12, 2004, 04:05:58 AM »

Hello!

I am considering signing up with lunarpages but have a few quick questions that I'd like answered first:

1 - Do you have PEAR installed?
2 - Specifically, I need the optional PEAR package HTML_Template_IT installed.  Is this available or can it be installed upon request?

Thanks in advance.

Cheers,

-Clive
Logged
Ripta
Developer
Master Jedi
*****
Offline Offline

Posts: 1287



« Reply #1 on: August 12, 2004, 01:39:44 PM »

Yes, we have PEAR installed. However, unlike Perl packages, we do not offer PEAR package installation. If you require PEAR packages not already installed, you can install them manually, as per http://pear.php.net/manual/en/installation.manually.php (and http://pear.php.net/manual/en/installation.shared.php the "FTP" installation section).
Logged

GetAFreelancer! (This service is not affiliated with Lunarpages)
cphillips
Space Explorer
***
Offline Offline

Posts: 8


« Reply #2 on: March 27, 2005, 05:01:16 PM »

Please provide more info.

I am having problems with the instructions you referenced.
I installed PEAR to a directory outside of my http_public folder
(the root of where i have access)

It doesnt seem to be working and I get this message:



You will need to know the location of the cli version of PHP. To find this, browse to this script and copy the output:


<?php
echo `which php`;
// if this does not work, also try echo PHP_BIN;
?>

 
What does this mean?

THanks
Logged
Pete
Alien Anomaly
Professor in Nanotechnology
*****
Offline Offline

Posts: 4222



WWW
« Reply #3 on: March 27, 2005, 05:14:58 PM »

Hicphillips, Pete waves


What that instruction actually means is create a file with
Code:
<?php 
echo `which php`; 
// if this does not work, also try echo PHP_BIN; 
?>


(You can use notepad to do that )
Save it as whateveryoulike.php and copy it to your website
call www.yourwebsite.com/whateveryoulike.php and it should give you the path to php


Usually /usr/bin/php
Logged

x-visions.com


As I'm always saying.. (But nobody listens)
"Take a step back.. Take a deep breath and see if there a simple solution there, thats hiding" lol  Very HappyLunarpages Web Hosting   Lunarpages Forums   Lunarpages Affiliate Program
cphillips
Space Explorer
***
Offline Offline

Posts: 8


« Reply #4 on: March 28, 2005, 07:22:43 PM »

Thanks,

Do you know of any resources that show how to install PEAR step by step on a lunarpages web hosted account?

Thanks!
 Cool
Logged
JamesG
Lager Ship
Berserker Poster
*****
Offline Offline

Posts: 12026


If In Doubt, Cluster!


WWW
« Reply #5 on: March 30, 2005, 03:24:22 PM »

cphillips, the link that Ripta gave you has instructions, what problems are you having with it?
Logged

Lupine1647
Berserker Poster
*****
Offline Offline

Posts: 10868


« Reply #6 on: March 30, 2005, 04:18:19 PM »

I use Pear on some of my pages to send mail via SMTP instead of the Mail() function. All I do is include the Mail.php package and the Pear.php package.
Logged
cphillips
Space Explorer
***
Offline Offline

Posts: 8


« Reply #7 on: September 07, 2005, 06:58:54 PM »

Ok I am following the instructions to install PEAR on a shared account using ftp

What paths do I use?

Where do I store the Pear CLI on my local computer?

How do I get it to install?

Any help??

Logged
randwolf
Newbie
*
Offline Offline

Posts: 2


« Reply #8 on: February 10, 2006, 09:02:34 PM »

The link above now points to the following message: "We removed this section, because, today, manually installing a package requires a deeper understanding of the way how packages are organized and what happens during the installation process. You should read the section about the package.xml in the Developers Guide (Chapter 15 and Chapter 16), if you really want install a package without the PEAR installer." The link is to a highly technical discussion, and the given procedure requires a client-side Unix system and the knowlege of how to use it.

Can you offer us some simpler alternatives?
Logged
Lupine1647
Berserker Poster
*****
Offline Offline

Posts: 10868


« Reply #9 on: February 10, 2006, 09:04:58 PM »

http://pear.php.net/manual/en/installation.shared.php

Just follow the links Very Happy
Logged
blazerblvd
Intergalactic Superstar
*****
Offline Offline

Posts: 180


WWW
« Reply #10 on: February 23, 2006, 05:01:20 PM »

what is the path for pear on the system servers.  It is not clear in the documentation and an error is returned when you include 'PEAR.php'
Logged
daniels
Support
Galactic Royalty
*****
Offline Offline

Posts: 410


« Reply #11 on: February 24, 2006, 05:06:49 AM »

Hello blazerblvd,

Please try:

/usr/bin/pear
/usr/local/bin/pear
/usr/local/lib/php

I hope that this was helpful.
Logged

Kind Regards,
Daniel Torney
Customer Service Representative

Support and Assistance:
Lunarpages Web Hosting
Lunarpages Forums
Lunarpapages Affiliate Program
Help Desk - https://support.lunarpages.com/
KB - https://support.lunarpages.com/knowledge_bases
Tutorials - http://www.lunarpages.com/tutorials/

support@lunarpages.com
Phone: 1-714-521-8150 (International)
OldSkoolMark
Newbie
*
Offline Offline

Posts: 1


« Reply #12 on: July 10, 2008, 03:56:39 PM »

I am basically following the instructions at

https://support.lunarpages.com/knowledge_bases/article/313

but instead of downloading from php.net, I ftp'ed the pear directory and subdirectories from a working configuration on my local testing webserver. Should this work?
Logged
Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.3 | SMF © 2006-2007, Simple Machines LLC
Seo4Smf v0.2 © Webmaster's Talks


Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM