PEAR problem on XAMPP
From:
Martin Spernau
Date:
Sep 01 12:04 UTC
Short link
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?