How to set up your own PEAR Channel?

馋奶兔 提交于 2019-12-20 18:29:56

问题


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?


回答1:


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

.




回答2:


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




回答3:


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.



来源:https://stackoverflow.com/questions/168136/how-to-set-up-your-own-pear-channel

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!