dtnbjjq51949 2010-09-20 00:20 采纳率: 0%
浏览 41
已采纳

PEAR频道为什么我需要一个?

So I guess a PEAR channel is like a server that lets you distribute your own PEAR packages? I was under the impression PEAR was sort of dead, until I started looking at Symfony (is it dead? I haven't used it in the past so maybe someone with more experience in PHP can comment on its state and whether it makes sense to invest any time in it)

Anyway my question. Why do I need to set up my own PEAR channel? There's a page here maintained by the PEAR project http://pear.php.net/channels/ but it looks like it may be just a list of PEAR channels as opposed to a public PEAR channel. Are there easier alternatives than setting up my own PEAR channel?

  • 写回答

3条回答 默认 最新

  • dongpan1871 2010-09-20 01:43
    关注

    PEAR is not dead. Symfony is not dead either.

    A PEAR channel is just like a package repository for your favorite linux distribution.

    If you are distributing a PHP library that others will find useful, you can set up your own PEAR channel and your users can use that to install/update/uninstall your library, using the pear tool they're already acquainted with.

    You do not need to set up your own PEAR channel -- you distribute your own code however you like.

    That said, if you're distributing library code for others to use, setting up your own channel is a nice way to do it.

    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论
查看更多回答(2条)

报告相同问题?

悬赏问题

  • ¥15 import arcpy出现importing _arcgisscripting 找不到相关程序
  • ¥15 onvif+openssl,vs2022编译openssl64
  • ¥15 iOS 自定义输入法-第三方输入法
  • ¥15 很想要一个很好的答案或提示
  • ¥15 扫描项目中发现AndroidOS.Agent、Android/SmsThief.LI!tr
  • ¥15 怀疑手机被监控,请问怎么解决和防止
  • ¥15 Qt下使用tcp获取数据的详细操作
  • ¥15 idea右下角设置编码是灰色的
  • ¥15 全志H618ROM新增分区
  • ¥15 在grasshopper里DrawViewportWires更改预览后,禁用电池仍然显示