简体   繁体   中英

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?

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

.

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 ).

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

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

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM