Sensible Open Source

Blog Status

  • 4 yrs 44 wks 2 days old
  • Updated: 7 Feb 2010
  • 450 entries
  • 173 comments
Total: 1,177,948
since: 5 Apr 2005

LinkBlogS

Creating Vidcasts

18 June 2007, Monday 7:05 P GMT-06
Tags:      

Man, Can't Microsoft Catch A Break?

16 March 2007, Friday 12:26 P GMT-06

Viacom, Google andYou Tube, Oh My!

16 March 2007, Friday 12:25 P GMT-06

Switch to digital TV to start in October

16 March 2007, Friday 7:46 A GMT-06

Is the Ice Ready? No, Its Still To Hot To Use...

16 March 2007, Friday 7:43 A GMT-06

MIT Entire Curriculum At disposal of e-learners

6 March 2007, Tuesday 11:52 A GMT-06

A cure for e-mail attention disorder?

2 March 2007, Friday 12:51 A GMT-06
Tags:  

Windows-on-Mac software gets virtualization update

1 March 2007, Thursday 5:08 A GMT-06

EnterpriseDB is/n't Open Source

1 March 2007, Thursday 3:37 A GMT-06

BitTorrent download portal debuts

27 February 2007, Tuesday 9:05 A GMT-06

$45b TXU buyout

27 February 2007, Tuesday 9:02 A GMT-06

iPhone Competitors Got The Touch

26 February 2007, Monday 3:43 A GMT-06
Tags:        

HTC - Smart Mobility

25 February 2007, Sunday 4:22 A GMT-06

Hard to find 1-800 numbers

23 February 2007, Friday 8:35 A GMT-06

Cuba Embraces Open-Source Software

21 February 2007, Wednesday 3:10 A GMT-06

Vista at the tipping point, Err Dipping Point?

11 February 2007, Sunday 11:11 A GMT-06
Tags:  

PostgreSQL Open Source And Persistence

3 February 2007, Saturday 10:32 P GMT-06

Blackboard Pledges No Patent Blocks

3 February 2007, Saturday 10:28 P GMT-06

UVU

5 January 2007, Friday 11:58 P GMT-06

Open-source IP PBX software appliance"

4 January 2007, Thursday 3:44 A GMT-06

Asterisk an under-appreciated Open Source Success Story

4 January 2007, Thursday 3:43 A GMT-06

Open Source AJAX Tooling

4 January 2007, Thursday 3:41 A GMT-06

Google MAIL API Secuirty Alert

1 January 2007, Monday 7:37 P GMT-06
Tags:    

United States Patent Application: 0060288329

26 December 2006, Tuesday 4:00 A GMT-06

LinkBlog Popular Tags

                                       







««Feb 2010»»
SMTWTFS
 
1
234
5
6
78910111213
14151617181920
21222324252627
28

 

August 16, 2012

Time Left

2 years 6 months 4 days

                   

New Design: RedTie by alexisc22

24 May 2009, Sunday
alexisc22's "RedTie" was just added to OSWD! It is white and red and validates XHTML 1.0 Transitional.

New Design: Simple Beauty by dboy

24 May 2009, Sunday
dboy's "Simple Beauty" was just added to OSWD! It is white and gray and validates XHTML 1.0 Strict.

New Design: Rounded_2 by jedignork

24 May 2009, Sunday
jedignork's "Rounded_2" was just added to OSWD! It is blue and white and validates XHTML 1.0 Strict.

New Design: Delicious Fruit by Dieter

24 May 2009, Sunday
Dieter's "Delicious Fruit" was just added to OSWD! It is yellow and green and validates XHTML 1.0 Strict.

New Design: Touching by timmytima

24 May 2009, Sunday
timmytima's "Touching" was just added to OSWD! It is white and black and validates XHTML 1.0 Transitional.

New Design: BlackandGreen by shipping_guy

24 May 2009, Sunday
shipping_guy's "BlackandGreen" was just added to OSWD! It is orange and green and validates XHTML 1.0 Strict.

New Design: Sundark by rotw

24 May 2009, Sunday
rotw's "Sundark" was just added to OSWD! It is black and yellow and validates XHTML 1.0 Transitional.

New Design: Cash by alexisc22

24 May 2009, Sunday
alexisc22's "Cash" was just added to OSWD! It is green and gray and validates XHTML 1.0 Transitional.

New Design: Greeny blu by heartlessg

24 May 2009, Sunday
heartlessg's "Greeny blu" was just added to OSWD! It is black and blue and validates XHTML 1.0 Transitional.

New Design: Cloudy Water Sports by boilers

24 May 2009, Sunday
boilers's "Cloudy Water Sports" was just added to OSWD! It is gray and blue and validates XHTML 1.0 Strict.

This week at LWN: On GNOME and its Foundation: an interview with Luis Villa

24 May 2009, Sunday
LWN recently posted a brief article on the GNOME Foundation's plea for support to help it get through a difficult year. Some of the comments on that news questioned the role of the foundation and its

Poseidon USB Stack Bounty Reached: Open Source, AROS Port

24 May 2009, Sunday
Another important bounty quota has been reached in the Power2People website, and this time the result comes from a common effort of the whole Amiga/Morphos/AROS Community. The result of this bounty be

Where to buy Preinstalled Linux Laptop/Desktop

24 May 2009, Sunday
Installing any OS can still sometimes be a tedious task and one that scares the wits out of the average computer user. And, it’s just more fun to buy a computer with Linux already on it and not have t

Microsoft and ODF: Bad for Everyone

24 May 2009, Sunday
Microsoft finally agreed to implement ODF support in Microsoft Office, but they didn't do it quite right, hurting both Microsoft and the ODF specification.

Linux MMORPG Game Engine Sees Major Update

23 May 2009, Saturday
Regnum Online, a Massively Multi-player Online Role Playing Game that has a native Linux client offered by its developers (NGD Studios), has received a major overhaul. Regnum Online is one of the very

Discovery: The Ultimate Linux Device - The Kickfire Appliance

23 May 2009, Saturday
Discover the Kickfire appliance--if this isn't the ultimate Linux device, one might not exist.

Some Funny Linux/Computer Pictures

23 May 2009, Saturday
More funny pictures from the "world wide interweb" - I think that's what Mr. Monk calls it ;)

The Acer Debacle - Closing the Chapter

23 May 2009, Saturday
Michelle Minkin, a friend of this effort and an all-around nice lady; suggested that we auction off the opportunity to destroy these computers. We were almost ready to start soliciting the community f

Cisco Settles, But Where From Here?

23 May 2009, Saturday
Until September 20, 2007, nobody had ever sued anybody for violating the General Public License (GPL) — not a single company, project, or individual developer in the license's then-eighteen

OpenBSD 4.5 update: Reinstall goes quickly, X still in trouble; still running Ubuntu 8.04

23 May 2009, Saturday
I'll keep this quick. I followed the advice of Nathan from OpenBSD101 and replaced my upgraded OpenBSD 4.5 installation with an entirely new, reinstalled system. That took all of 10 minutes. I followe

Desperation, Scare Tactics, and Happy Memorial Day!

23 May 2009, Saturday
I love to poke fun at tech vendors who continually boast of their innovation, when in fact they're scared to death of real innovation, if they could even recognize it. Today I poke fun at the anti-mal

RSS Add-Me








Google Related Links

PHP 5.2.0 Installation and PEAR

posted 22 January 2007, Monday

Once  PHP 5.2.0 is installed and you are pursuing the MYSQL 5.X installation one is instructed to install PEAR.  The first question you are likely to ask is What is PEAR? and the next is Why?

WHAT IS PEAR? 

PEAR stands for PHP Extension and Application Repository, PEAR is a framework and distribution system for reusable PHP components. PEAR is a community-driven project with the PEAR Group as the governing body. The project was founded by Stig S. Bakken in 1999.

The code in
PEAR is partitioned in packages, where each package is a separate project with its own development team, version number, release cycle, documentation and a defined relation to other packages (including dependencies). Packages are distributed as gzipped tar files with a description file inside, and installed on your local system using the PEAR installer. There are two types of packages: source packages (containing source files only), and binary packages (containing platform-specific binary files, and possible source files). [Source: PEAR Manual]

 

WHY USE PEAR?

PEAR's DB classes allow a clear, concise and stable extension for developers to leverage severa packages in this case the database package and actions that would work for MySQL, Oracle, PostgreSQL etc.  The very implementation of PEAR connects PHP and MYSQL through the DB.php framework.

The instructions to install PEAR are fairly simple and start off by going to the PHP installation directory and executing go-pear.bat.  However, there is an error in the go-pear.phar that is included in the php-5.2.0-win32-installer.msi installation archive which is listed below:

C:\PHP>go-pear.bat

Are you installing a system-wide PEAR or a local copy?
(system|local) [system] :

Below is a suggested file layout for your new PEAR installation.  To
change individual locations, type the number in front of the
directory.  Type 'all' to change all of them or simply press Enter to
accept these locations.

 1. Installation base ($prefix)   : C:\PHP
 2. Binaries directory            : C:\PHP
 3. PHP code directory ($php_dir) : C:\PHP\pear
 4. Documentation directory       : C:\PHP\pear\docs
 5. Data directory                : C:\PHP\pear\data
 6. Tests directory               : C:\PHP\pear\tests
 7. Name of configuration file    : C:\WINDOWS\pear.ini
 8. Path to CLI php.exe           : C:\PHP\.

1-8, 'all' or Enter to continue:
Beginning install...
Configuration written to C:\WINDOWS\pear.ini...
Initialized registry...
PHP Warning:  Cannot use a scalar value as an array in phar://go-pear.phar/PEAR/
Command.php on line 268
PHP Warning:  Cannot use a scalar value as an array in phar://go-pear.phar/PEAR/
Command.php on line 268
PHP Warning:  Cannot use a scalar value as an array in phar://go-pear.phar/PEAR/
Command.php on line 268
PHP Warning:  Cannot use a scalar value as an array in phar://go-pear.phar/PEAR/
Command.php on line 268
PHP Warning:  Cannot use a scalar value as an array in phar://go-pear.phar/PEAR/
Command.php on line 268
PHP Warning:  Cannot use a scalar value as an array in phar://go-pear.phar/PEAR/
Command.php on line 268
Preparing to install...
installing phar://go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.1.tar...
installing phar://go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.2.tar...
installing phar://go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.4.11.tar...

PHP Warning:  Cannot use a scalar value as an array in phar://go-pear.phar/Archi
ve/Tar.php on line 2334
PHP Warning:  Cannot use a scalar value as an array in phar://go-pear.phar/Archi
ve/Tar.php on line 2338
Could not get contents of package "". Invalid tgz file.
Cannot initialize 'phar://go-pear.phar/PEAR/go-pear-tarballs/Archive_Tar-1.3.1.t
ar', invalid or missing package file
PHP Warning:  Cannot use a scalar value as an array in phar://go-pear.phar/Archi
ve/Tar.php on line 2334
PHP Warning:  Cannot use a scalar value as an array in phar://go-pear.phar/Archi
ve/Tar.php on line 2338
Could not get contents of package "". Invalid tgz file.
Cannot initialize 'phar://go-pear.phar/PEAR/go-pear-tarballs/Console_Getopt-1.2.
tar', invalid or missing package file
PHP Warning:  Cannot use a scalar value as an array in phar://go-pear.phar/Archi
ve/Tar.php on line 2334
PHP Warning:  Cannot use a scalar value as an array in phar://go-pear.phar/Archi
ve/Tar.php on line 2338
Could not get contents of package "". Invalid tgz file.
Cannot initialize 'phar://go-pear.phar/PEAR/go-pear-tarballs/PEAR-1.4.11.tar', i
nvalid or missing package file
PHP Warning:  Cannot use a scalar value as an array in phar://go-pear.phar/PEAR/
Command/Install.php on line 427
PHP Warning:  Cannot use a scalar value as an array in phar://go-pear.phar/PEAR/
Command/Install.php on line 427
PHP Warning:  Cannot use a scalar value as an array in phar://go-pear.phar/PEAR/
Command/Install.php on line 427
PHP Warning:  Cannot use a scalar value as an array in phar://go-pear.phar/PEAR/
Command/Install.php on line 429

install failed
Press any key to continue . . .

C:\PHP>cd pear

There are several references through out the search engines referring to this problem.  I spent a good amount of time trying to seek a solution to this issue.  Latest one I found was spanning from October 2006 to November 2006 found here.  Which simply leads to a thread discussing a solution.  However, I could not find the proper go-pear.phar and it appears.  The discussion infers the solution has not been implemented in the newest of releases in November of 2006.  My resulting effort could not find a solution on the PHP or PEAR websites on this time January 22, 2007.       

However, I did find go-pear.phar from Greg Beaver's blog. This solution has not been implemented in the newest of releases at the time of this entry, January 22, 2007.  The blog entry describes the issue and provides the file.  I wanted to document it for myself as well as spread the word around!

Hope this helps! 

tags:          

links: digg this    del.icio.us    technorati    reddit




1. jm left...
14 March 2007, Wednesday 12:14 am

http://pear.php.net/bugs/bug.php?id=9925 gives a better solution:

this is a known (and fixed) bug. Please download http://pear.php.net/go-pear.phar and replace the go-pear.phar that came with PHP 5.2.0.


2. SOS left...
14 March 2007, Wednesday 2:12 pm :: http://sos.blog-city.com/

That's great!!

Thank you for the POSTING & UPDATE!

This is how its suppose to work!! Glad there is a fix now for this issue!!


3. 1Supergirl left...
1 March 2008, Saturday 10:09 am :: http://myspace.com/1supergirl

Thank you so much. I was pulling my hair out!! You and Greg Beaver are HEROES!!


4. acidre left...
27 March 2008, Thursday 2:54 pm :: http://www.acidre.com

damn, this helped me a lot, thanks a lot!