Installing PEAR Module Spreadsheet_Excel_Writer

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

Installing PEAR Module Spreadsheet_Excel_Writer

Postby ChristopherMonkey » 29. November 2011 00:51

Hi, I'm very new to PEAR and having trouble installing it..

I've ran the pear.bat file in C:\xampp\php and then discovered it's a sort of command line script of its own...

I'm trying to install Spreadsheet_Excel_Writer with no joy so far; it keeps moaning about unstable BETA versions and channels or package not found. Any help greatly appreciated as I have not got a clue what I'm doing. Tried using pear channel-discover pear.php.net/Spreadsheet_Excel_Writer (the channel it says is missing) with no luck either.

Thanks in advance!
:)

PS. Perhaps a dumb question, but why on earth has no one created an administrator app for PEAR? Something along the lines of phpMyAdmin say. (Or have they?)
ChristopherMonkey
 
Posts: 1
Joined: 24. November 2011 23:59
Location: Malvern, U.K.
XAMPP Version: 5.6.3
Operating System: Windows XP 32Bit

Re: Installing PEAR Module Spreadsheet_Excel_Writer

Postby Sharley » 29. November 2011 02:28

This Spreadsheet_Excel_Writer package is in beta not stable so the command is slightly different - see below.
http://pear.php.net/package/Spreadsheet_Excel_Writer
http://pear.php.net/package/Spreadsheet ... /download/


Try using the xampp-control-3-beta.exe in the xampp folder as it is a much more feature rich Control Panel - Exit the older 2.5 version first.

Latest XCPv3 versions can be found here:
viewtopic.php?f=16&t=48932


Now you can use the XAMPP_Shell button to type your pear commands.
Code: Select all
pear install Spreadsheet_Excel_Writer-0.9.2
Should have you moving forward.
Code: Select all
pear list
to check it is now installed.

So as a general rule, if you receive an indication that the package you are trying to install is not stable but is a beta then go to:
http://php.pear.net/[packagename]
or do a search for the package here:
http://pear.php.net/packages.php
Then try and establish the package version number and then add that number to the install command as outlined in the code snippet above.

Best wishes. :)
User avatar
Sharley
AF Moderator
 
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
XAMPP Version: 5.6.3
Operating System: Win 7 Pro 32bit/XP Pro SP3


Return to XAMPP for Windows

Who is online

Users browsing this forum: Boba Fett and 84 guests