cannot install PEAR modules in xampp 1.8.0

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

cannot install PEAR modules in xampp 1.8.0

Postby georgefk » 09. September 2012 13:27

Good afternoon and greetings. I seek help with loading PEAR modules on a Windows 7 Pro machine, something that worked nicely with Vista/ xampp 1.7.7
My PEAR works.
I show below my attempts:

C:\Users\george>pear channel-update pear.php.net
Updating channel "pear.php.net"
Channel "pear.php.net" is up to date

C:\Users\george>pear install Mail
No releases available for package "pear.php.net/Mail"
install failed

Does anyone know how to load PEAR modules in xampp 1.8.0?

best wishes
georgefk
georgefk
 
Posts: 12
Joined: 01. September 2012 16:03
Operating System: Windows 7 Pro

Re: cannot install PEAR modules in xampp 1.8.0

Postby georgefk » 16. September 2012 17:25

Let us tie this up.

Type
pear clear-cache

There is something odd about my installation.
When I type
pear config-show
some paths start C:\php\ rather than C:\xampp\php\
This leads to installation errors.
Use
pear config-set
to correct these pathnames.

pear install mail
etc
now works perfectly.

The correct terminology is PEAR "package" not module. Sorry!

I hope that this is of use to others.

best wishes
georgefk
georgefk
 
Posts: 12
Joined: 01. September 2012 16:03
Operating System: Windows 7 Pro

Re: cannot install PEAR modules in xampp 1.8.0

Postby georgefk » 16. September 2012 18:28

Final point.

You cannot write to C:\windows\ in Windows 7.

Look at
pear config-show
for instances of this.

Change them to C:\xampp\php\ paths instead.
georgefk
 
Posts: 12
Joined: 01. September 2012 16:03
Operating System: Windows 7 Pro

Re: cannot install PEAR modules in xampp 1.8.0

Postby JonB » 16. September 2012 21:57

Thanks for doing that research and posting your results.

8)
User avatar
JonB
AF Moderator
 
Posts: 3210
Joined: 12. April 2010 16:41
Location: Land of the Blazing Sun
Operating System: Windows XP/7 - Fedora 15 1.7.7

Re: cannot install PEAR modules in xampp 1.8.0

Postby hackattack142 » 18. September 2012 04:59

Thanks for pointing this out. I will add the missing paths to the XAMPP Shell in the next Control Panel version which should be in XAMPP 1.8.1.
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
hackattack142
 
Posts: 701
Joined: 20. May 2011 23:29
Operating System: Windows 7 Ultimate SP1 64-Bit


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 188 guests