Re: Installing PEAR on Shared Linux Hosting

From: Date: Fri, 24 Sep 2004 18:08:00 +0000
Subject: Re: Installing PEAR on Shared Linux Hosting
References: 1 2 3 4  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-14635@lists.php.net to get a copy of this message
Here is how I solved this issue. I didn't use 'go-pear.php', instead I downloaded the packages I needed (including dependencies), created a folder something like 'includes' and copied the PEAR files to this folder. The set the include path: set_include_path('.:' . dirname(__FILE__).'/includes:' . get_include_path()); and that's it. I know that my english sucks so if this isn't clear, email me and I can send you an archive with the dir structure. Laszlo. *** On some systems you might wanna On Fri, 24 Sep 2004 04:09:48 -0700, Pat Wong <vinyl-junkie@napathon.net> wrote: > I didn't see an answer to this problem in the archives, so here goes. > > First of all, I do not have shell access to the server, nor can I get it. I have pursued that > through my ISP, to no avail. > > I went through the website documentation to figure out what I needed to do, downloaded and > saved go-pear.php, and uploaded it to the web server in a library called install. > > I created and made 777 directory access for: > bin > cache > data > docs > PEAR > tests > > Then I proceeded to run the script as a web page. Here's the display that came from it: > > Starting installation ... > Loading zlib: ok > Downloading package: PEAR-stable......ok > Downloading package: Archive_Tar-stable....ok > Downloading package: Console_Getopt-stable....ok > Downloading package: XML_RPC-stable....ok > Downloading package: Pager............ok > Downloading package: HTML_Template_IT....ok > Downloading package: Net_UserAgent_Detect....ok > Downloading package: PEAR_Frontend_Web....ok > Bootstrapping: PEAR...................(remote) ok > Bootstrapping: Archive_Tar............(remote) ok > Bootstrapping: Console_Getopt.........(remote) ok > Downloading package: DB...............ok > Downloading package: Net_Socket.......ok > Downloading package: Net_SMTP.........ok > Downloading package: Mail.............ok > Downloading package: XML_Parser.......ok > Downloading package: PHPUnit..........ok > > Fatal error: Undefined class name 'pear' in > /home/username/public_html/pear/go-pear.php on line > 645 > > The progress bar showed 70% completion when this happened. I am at my absolute wit's end > to > figure out why this is happening. Can someone please help? Thanks in advance. > > -- > > ~8^) Pat Wong > http://www.napathon.net/ - Music Around The World > For collecting tips, trade and want lists, album reviews and more. > > http://www.techtipscentral.net/CDTrusteeIntro.asp - Showcase > your > music collection on your website. > > -- > PEAR General Mailing List (http://pear.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.pear.general (#14635) next »