Page 1 of 1

Installing from PEAR

PostPosted: 18. November 2009 02:15
by ckosloff
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.

Re: Installing from PEAR

PostPosted: 18. November 2009 02:55
by ntsmarkv
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

Re: Installing from PEAR

PostPosted: 18. November 2009 02:59
by Izzy
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

Re: Installing from PEAR

PostPosted: 18. November 2009 03:29
by ckosloff
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.

Re: Installing from PEAR

PostPosted: 18. November 2009 03:35
by Izzy
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.