Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to set up your own PEAR Channel?

I am looking for instructions on how to setup a PEAR channel for our project so that we can deploy it with the pear installer. I have searched the web for a while and cannot find any straightforward information. I followed this tutorial for a while, but I am having a hell of a time getting this to work. Does anyone know how to do this? Is there a simpler way?

like image 289
Sam McAfee Avatar asked Oct 03 '08 18:10

Sam McAfee


3 Answers

It looks like you are one of the few people who want to do this. That tutorial you linked to appears to be the latest (!) but the package is still somewhat in development. The documentation in that package is also non-existent. It looks like it's up to you to write the docs. Or maybe contact Greg Beaver; the author of the package and blog post you linked to. He also wrote a book about PEAR (albeit in 2006.) The amazon writeup mentions this:

Next, you will learn how to set up your own PEAR Channel for distributing PHP applications, both open-source and proprietary closed-source PHP applications that can be secured using technology already built into the PEAR Installer

.

like image 112
MDCore Avatar answered Nov 01 '22 09:11

MDCore


What problems are you encountering on following the tutorial that you linked to?

You could set up your own channel with pirum or the chiara server ( http://pear.chiaraquartet.net/ ) but you could also look into getting an account on http://pearfarm.org and hosting your packages there (or on http://pearhub.org).

like image 28
kguest Avatar answered Nov 01 '22 11:11

kguest


The PEAR website lists a number of channel server softwares now (bottom of the page). They are:

  • Chiara_PEAR_Server
  • SimpleChannelServer
  • Pirum
  • Pearfarm

I would not use the chiara pear server anymore; it's dead.

like image 2
cweiske Avatar answered Nov 01 '22 09:11

cweiske