Installing from PEAR

Problems with the Windows version of XAMPP, questions, comments, and anything related.

Installing from PEAR

Postby ckosloff » 18. November 2009 02:15

I have no idea how to use PEAR, I know that it is already installed in XAMPP.
But, how to use is my question.
I want to install FirePHP, and the website happily says:
------------------------------------------------
Install from PEAR:
pear channel-discover pear.firephp.org
pear install firephp/FirePHPCore
------------------------------------------------
Please, what are the steps?
Thanks.
Carlos K.
ckosloff
 
Posts: 37
Joined: 10. May 2007 16:35
Location: South Florida

Re: Installing from PEAR

Postby ntsmarkv » 18. November 2009 02:55

If you have no idea how to use PEAR, I suggest start with the basics. (School)

otherwise:

open cmd prompt

locate your php folder in xampp
C:\xampp\php
then

pear channel-discover pear.firephp.org (once you hit enter you should see:)

Adding Channel "pear.firephp.org" succeeded
Discovery of channel "pear.firephp.org" succeeded

Then do: pear install firephp/FirePHPCore
ntsmarkv
 
Posts: 32
Joined: 22. October 2005 21:38

Re: Installing from PEAR

Postby Izzy » 18. November 2009 02:59

You can go here to see the pear info already installed.
http://localhost/xampp/pearinfo.php

Using the Shell button in the XAMPP Control Panel is now the preferred method in XAMPP 1.7.2 over using the cmd command in a console window and then having to cd to the required folder - much easier.

Type pear at the # prompt to see a full list of pear commands.

Or run the xampp_shell.bat file in the \xampp folder for the same shell prompt.

You can go here to get a rough idea of what to do but replace any relevant info for your own install details:
viewtopic.php?f=16&t=34237

Perhaps start by updating the pear.php.net channel:

at the # prompt type:
pear channel-update pear.php.net

Click on Enter on your keyboard.

When complete you should see this message:
Updating channel "pear.php.net"
Channel "pear.php.net" is up to date


Then proceed from here with the instructions to install FirePHP.

Good luck
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06

Re: Installing from PEAR

Postby ckosloff » 18. November 2009 03:29

Izzy wrote:Using the Shell button in the XAMPP Control Panel is now the preferred method in XAMPP 1.7.2...

Izzy,
I greatly appreciate your help and that of the other contributor.
You of course know that the XAMPP shell only works on 1.7.2.
I also have 1.7.1 installed on another machine, simply because some websites will break with PHP 5.3
So to use the cmd is my only option there.
Oh, and I will learn PEAR, it is only that I have so many things to learn that it is enough to drive me crazy.
Thanks all.
Carlos K.
ckosloff
 
Posts: 37
Joined: 10. May 2007 16:35
Location: South Florida

Re: Installing from PEAR

Postby Izzy » 18. November 2009 03:35

ckosloff wrote:You of course know that the XAMPP shell only works on 1.7.2.
I also have 1.7.1 installed on another machine, simply because some websites will break with PHP 5.3
This is another clear case that when requesting support on these forums that the XAMPP version and the Windows OS are included as they now greatly effect the methods used to troubleshoot issues, or the latest XAMPP version will always be assumed.
Izzy
 
Posts: 3344
Joined: 25. April 2006 17:06


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 60 guests