是否可以列出 pecl 包的所有版本?pecl search xdebug
例如,只列出最新的 3.0.1 版本。但我想要最新的 2.x 版本。
最佳答案
pear 命令行安装程序(在 pecl
后面)没有列出所有软件包版本的本地方式。
您只能查询REST API你自己:https://pear.php.net/rest/r/mime_type/allreleases2.xml
该 URL 中的包名称必须为小写。
关于php - 如何列出 pecl 包的所有版本,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/65399058/