Unable to install pear packages

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

Unable to install pear packages

Postby helpcomm » 09. September 2011 22:41

Hi,

I tried to install a pear package. but i have the following error:
----
C:\Users\me>pear install HTML_QuickForm2-beta
downloading HTML_QuickForm2-0.6.0.tgz ...
Starting to download HTML_QuickForm2-0.6.0.tgz (156,935 bytes)
.................................done: 156,935 bytes
downloading HTML_Common2-2.0.0.tgz ...
Starting to download HTML_Common2-2.0.0.tgz (7,777 bytes)
...done: 7,777 bytes
ERROR: failed to mkdir C:\php\pear\tests\HTML_Common2
ERROR: failed to mkdir C:\php\pear\tests\HTML_QuickForm2\QuickForm2\Container
----

While checking php configuration i found the following:
---
Configuration File (php.ini) Path C:\Windows
Loaded Configuration File C:\xampp\php\php.ini
---

Is it normal to have the configuration file in the folder windows?

Do you have any idea why I cannot install pear packages?


Thanks
helpcomm
 
Posts: 5
Joined: 03. September 2011 21:55

Re: Unable to install pear packages

Postby JonB » 10. September 2011 00:19

Configuration File (php.ini) Path
---------------------------------
the file PHP is working with is:
Loaded Configuration File C:\xampp\php\php.ini

I suspect the problem is actually with the package:

ERROR: failed to mkdir C:\php\pear\tests\HTML_Common2
ERROR: failed to mkdir C:\php\pear\tests\HTML_QuickForm2\QuickForm2\Container


personally, I'd say that looks a bit odd.

Did you run pear.bat???? :shock: (its in \xampp\php)

C:\xampp\php>pear install HTML_QuickForm2-0.6.0
WARNING: channel "pear.php.net" has updated its protocols, use "channel-update p
ear.php.net" to update
downloading HTML_QuickForm2-0.6.0.tgz ...
Starting to download HTML_QuickForm2-0.6.0.tgz (156,935 bytes)
.........done: 156,935 bytes
downloading HTML_Common2-2.0.0.tgz ...
Starting to download HTML_Common2-2.0.0.tgz (7,777 bytes)
...done: 7,777 bytes
install ok: channel://pear.php.net/HTML_Common2-2.0.0
install ok: channel://pear.php.net/HTML_QuickForm2-0.6.0


I just ran that a minute ago on XAMMP 1.74 on this machine...

I got the syntax from the PEAR site:
http://pear.php.net/package/HTML_QuickForm2/download

Just checked C:\xampp\php\PEAR\HTML\QuickForm2 -- its there -

Good Luck
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: Unable to install pear packages

Postby darius » 11. September 2011 01:00

I get pear problems with apps stack by Bitnami.
Installer can't install pear since installer runs in interactive mode
awaiting user's input.
Since windows installer is not supporting interaction, installer generates timeout error.

Just test Bitnami app stacks for Windows XP
and let me know your opinion.
darius
 
Posts: 13
Joined: 31. August 2011 22:57


Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 49 guests