PEAR problem on XAMPP
From:
Martin Spernau
Date:
Sep 01 20:07 UTC
Short link
I'm not sure how XAMPP does it, but the MAMP distribution has it's own
php and pear binaries
This what it looks like on my machine (Serenity)
Serenity:/Applications/MAMP/bin/php5/bin martin$ ls
pear pecl php-config phpunit
peardev php phpize
In that folder I can excecute the MAMP's own 'pear' binary:
Serenity:/Applications/MAMP/bin/php5/bin martin$ ./pear help
(this gives a list of 'helpful' messages)
To learn how to use PEAR and the pear binary, please refer to the
http://pear.php.net/
website
-Martin
Grady Laksmono schrieb:
> Sorry, I don't understand on what am I suppose to do:
>
> "If you execute these command using the full path to the ones that come
> with XAMPP or MAMP you can do all the required installs."
>
> What command are you talking about? php -V just give me a list of flags for
> php command. I'm still unable to do pear though. Also, what are the required
> PEAR modules that needs to be installed? How to install them?
>
> Thanks,
> Grady
>
> On Mon, Sep 1, 2008 at 5:04 AM, Martin Spernau <martin@traumwind.de> wrote:
>
>
>> This is quite similar to the situation I have with OS X and MAMP. The
>> tricj is to use the pear and php binaries that come with the
>> distribution. If you try to execute 'php' or 'pear' in Terminal you'd
>> notmally get the OS X own versions. You can check which is being used by
>> doing 'php -V' (captiat V)
>>
>> If you execute these command using the full path to the ones that come
>> with XAMPP or MAMP you can do all the required installs.
>>
>> From the errors you posted it looks like you do have PEAR, but not all
>> the modules that are required. You'd install these in the usual PEAR
>> manner - with the above trick iof using the full path thos the XAMPP
>> binaries.
>>
>> Hope this helps,
>>
>> -Martin
>>
>> gradyfausta schrieb:
>>
>>> Has anybody ever deployed PA on XAMPP? I got this error
>>>
>>> Warning: require_once(HTTP/Client.php) [function.require-once]: failed to
>>>
>> open stream: No such file or directory in
>> C:\xampp\htdocs\fz-2\web\config\common.php on line 21
>>
>>> Fatal error: require_once() [function.require]: Failed opening required
>>>
>> 'HTTP/Client.php' (include_path='.;C:\xampp\php\pear\:../../ext') in
>> C:\xampp\htdocs\fz-2\web\config\common.php on line 21
>>
>>> and it says on the wiki that I need to install PEAR. I'm not sure if PEAR
>>>
>> is installed or not, but I could find PEAR folder in the PHP folder
>>
>>> C:\xampp\php\PEAR
>>>
>>> However, I'm unable to execute pear list on that folder, so I'm
>>>
>> confused.. Anyone has ideas?
>>
>>> Thanks,
>>> Grady
>>>
>>>
>>> -----------------------------------------
>>> Full text of this topic in pa-users:
>>> http://lists.peopleaggregator.org/r/topic/2XlU90unaY9U7mVXKyDwxk
>>>
>>> To leave pa-users, email
>>> mailto:pa-users@lists.peopleaggregator.org?Subject=unsubscribe
>>>
>>> Start your own free groups and site with
>>> OnlineGroups.Net http://onlinegroups.net
>>>
>>>
>>>
>> -----------------------------------------
>> Full text of this topic in pa-users:
>> http://lists.peopleaggregator.org/r/topic/7khTRgoQUq6pLJ87hpWtdv
>>
>> To leave pa-users, email
>> mailto:pa-users@lists.peopleaggregator.org?Subject=unsubscribe
>>
>> Start your own free groups and site with
>> OnlineGroups.Net http://onlinegroups.net
>>
>>
>
> -----------------------------------------
> Full text of this topic in pa-users:
> http://lists.peopleaggregator.org/r/topic/2QbZm4RZtVI6UYcpclgKMS
>
> To leave pa-users, email
> mailto:pa-users@lists.peopleaggregator.org?Subject=unsubscribe
>
> Start your own free groups and site with
> OnlineGroups.Net http://onlinegroups.net
>
>