Fixing “unsupported protocol”

Some PEAR installations on PHP 5.2.9 and 5.2.10 seem to be corrupted. When trying to install something, you will get the error: is using a unsupported protocal – This should never happen. install failed

This problem comes from corrupted channel files. Go into your PEAR php directory and backup .channels directory:

cd `pear config-get php_dir`
mv .channels .channels-broken
pear update-channels

This means you lost all your channels except for the default ones (pear, pecl, doc and __uri) – but at least you do not have to re-install PEAR.

Sorry for the inconvenience.

Posted in Uncategorized | 16 Comments

The new Group has been elected!

I am more than glad to announce the arrival, the announcement of the new PEAR Group for 2009 and 2010.

With a few fresh faces in the Group, this year looks very promising with the mix of both new blood and experienced PEAR Group members.

Congratulations to the elected 7s (In no particular order):

  • Christian Weiske
  • Chuck Burgress
  • Daniel O’Connor
  • Ken Guest
  • Bill Shupp
  • Michael Gauthier
  • Brett Bieber

I can’t wait to have our first meeting and get the year kicking!

Thanks to everyone who voted!

Posted in Announcements, Blogroll, President Blog | Tagged , , , , | 5 Comments

The elections are still going!

As every year, the elections for the PEAR Group and PEAR President are happening. This year due to a few factors and messages lost in translation, we decided to extend the elections period by 10 days so more people would have time to vote!

So remember to cast your vote at and you have until the the 5th of August 2009.

There are many new candidates for the Group and I think you should go and check them out!

Posted in Announcements, Blogroll, Group Blog, President Blog | 2 Comments

Setting Up PEAR2 and PEAR Checkouts With SVN 1.5+

Now that pear2 is in, it is possible to do commits with
multiple packages using a feature of subversion called “sparse checkouts.”

Rasmus wrote about this for setting up php checkouts here:

Here is the version I used to set up pear and pear2 in a way that will
allow committing to both pear and pear2 packages in a single commit.
For packages like Console_CommandLine that live in both repositories,
this is very useful for tracking merges.  (Note: on windows, get
TortoiseSVN 1.6.3, and right-click “checkout” for checkout, and use the
“update to revision” option for the sparse updates)

svn co –set-depth empty phpsvn
cd phpsvn
svn up –set-depth immediates pear pear2
svn up –set-depth immediates pear2/* pear/*
svn up –set-depth infinity pear2/*/trunk pear/*/trunk
svn up –set-depth immediates pear2/sandbox
svn up –set-depth infinity pear2/sandbox/*/trunk
svn up –set-depth immediates pear/peardoc
svn up –set-depth infinity pear/peardoc/trunk

At this point, your work is done.  You can perform the same steps for
pearweb if you’re a maintainer, and be on your way.

With the above setup, when you make a change to a package, you can
update the documentation immediately and commit it together, by changing
to phpsvn and running “svn commit” (Windows: right-click on the phpsvn
folder and choose “svn commit”)

Hopefully this will get people started with being able to develop more
efficiently and to work effectively with PEAR2.

If you want to start a Pear2 package, all you need to do is send an
email to the, and the PEAR Group will get you set up.  I’m happy to answer
any questions.

Greg Beaver

Posted in Uncategorized | Tagged , , | 5 Comments

PHP 5.3 Windows and PEAR (go-pear.phar)

Some users have reported that the windows builds of PHP 5.3 are not able to open the shipped go-pear.phar file.

As a workaround, users can run the distributed phar with php -d phar.require_hash=0 go-pear.phar or download and use the non-pharred version.

Posted in Announcements | 43 Comments moving on

Thanks to the efforts of Daniel O’Connor, the PEAR website is getting nicer and better. Bug RSS feeds support Baetle now, the PEAR proposal system – PEPr – works again and many small improvements and fixes found their way on the site.

Posted in Uncategorized | 3 Comments

PEAR Group Meeting Minutes 2008-07-13

The minutes from the July 13th, 2008 PEAR Group meeting have been posted to the PEAR wiki.

Some highlights from the meeting include new/upcoming RFCs for package naming schemes, exception handling in PHP 5.3, and a vote on extending the current PEAR2 Policies. Heavy stuff, check it out!


Posted in Group Blog, Uncategorized | Tagged , | Comments Off

Election 2008 Results

2008 Elections are now over, you can view the offical results on the PEAR website.

The new PEAR group is:

elections are now over and a new PEAR Group has been formed. Just like last year and always following the Constitution, the new members have been elected by a secret ballot of PEAR Developers. They have chosen:

  • Joshua Eichorn
  • Helgi Þormar Þorbjornsson
  • Joe Stump
  • Christian Weiske
  • Chuck Burgess
  • Travis Swicegood
  • Brett Bieber

The new PEAR President is: David Coallier

The kickoff meeting for the new group is being held today.

Posted in Announcements, Group Blog, President Blog | Comments Off

Election time 2008

As every year it is the time of the election for the PEAR Group and PEAR President for the year 2008 and 2009. If you haven’t casted your vote just yet, NOW is the perfect time to do it so go to the election page and place your vote.

This year’s election contains a great mix of fresh mindsets, experienced and long time PEAR users and members of last year’s PEAR Group.

Go, vote!

Posted in Announcements | Comments Off

First PEAR bug triage over!

PEAR’s bug tracker hit the 600+ open bugs mark a month ago. Compared to the 400+ packages PEAR hosts, this is just 1.2 bug per package – but enough to be annoying for caring developers, especially when PEARgirl in IRC tells us every hour that the bug count increased again.

One and a half year ago, we faced an equal problem – only that the mark was 500 bugs at that time. Within half a year, we had this decreased to 400. Methods to accomplish this were mainly digging through the bug tracker, identifying bugs that could be fixed easily and nagging the package developers to do something (“Hey, bugs #23 and #42 are really easy to fix! Do that now and release a new version!”).

So with 600+ open bugs (not including the feature requests), we had to do something. Other open source projects regularly or irregularly organize bug triage days or weekends with the goal to fix as many bugs as possible with the combined brain forces of all attending developers. The logical step was to hold our own bug smashing event and see how it works for PEAR.

Date of action was the weekend 22nd to 23rd March 2008, which was the easter weekend. The event has not been announced publicly except on our pear-dev mailing list since it was a test run only. The attendees met in #pear-bugs on EFnet.

Participants included Amir, Cipri, Chuck, Daniel Connor, David, Helgi, Jan Schneider, Johnathan Street and Walter Hop. A number of packages, mostly orphaned ones, got tackled. Among them were Services_Google, SOAPmebeli, Net_Whois and Mail_Mime. Net_URLhotel furnishing in Bulgaria*, MDB2 and pearweb also got some love. Net_IDNA got new helper and went down to 0 bugs.

On day 2, Date got a new release. XML_sql2xml, DB_ldap, DB_ldap2 and Tree got also bugs fixed. A number of bugs got attention and in return got set to feedback needed, duplicate or bogus.

Thanks to the triage, we are close to reaching two important milestones: Closing bug reports with lower bug ID than 1000 (1 bug left!) and 2000 (5 left).

In the end, the bug count got down to 547 – but this was the first PEAR bug triage, and only a small number of devs attended.

We’re hoping for more active people on the next triage so for those interested we’re holding it bi weekly on weekends, both on Saturday and Sunday, that way people can pick the most fitting days for them and the next triage weekend is never far away :-)

We’re also holding out a Google Calendar for those events so that people can subscribe and be reminded about the the upcoming dates.

Calendar links:
HTML and iCal.

Posted in Blogroll, Group Blog, Uncategorized | 3 Comments