pecl 仍然与 php 相关吗
我正在尝试使用一些特定的扩展来编译 php,并且我遇到了 pecl 项目,该项目应该列出 php 使用的所有扩展。但该项目的网站似乎已经死了。
- 我在另一个教程中找到的下载软件包的链接不起作用
- 搜索功能不起作用
- 添加扩展的功能不起作用
所以对于那些了解更多有关 pecl 的人来说,它还活着吗?是否有更好的替代品可供我使用?
编辑: 另外,如果我采用繁琐的方式一一浏览软件包类别来查找我正在寻找的软件包,某些类别会给我这样的数据库错误。该项目还在维护吗?有更好的替代品吗?
错误: 数据库错误:语法错误... SELECT p.id, p.name, p.summary, p.license, p.unmaintained, p.newpk_id, (SELECT COUNT(package) FROM 发布 WHERE package = p.id) AS numreleases, (SELECT state FROM 发布 WHERE package = p.id ORDER BY id DESC LIMIT 1) AS 状态, (从版本中选择版本,其中包 = p.id ORDER BY id DESC LIMIT 1) AS 版本,(从版本中选择发布版本,其中包 = p.id ORDER BY id DESC LIMIT 1) AS 发布于包 p WHERE Category= [nativecode=1064 ** 您的 SQL 语法有错误; 检查与您的 MySQL 服务器版本对应的手册 在第 9 行 '' 附近使用的正确语法]
I'm trying to compile php with some specific extensions, and I've come across the pecl project which is supposed to list all the extensions used with php. But the project's website seems to be dead.
- the links I found in another tutorial to download the packages isn't working
- the search feature isn't working
- the ability to add extensions isn't working
So for those who know more about pecl, is it still alive? Did a better replacement come out that I should use instead?
Edit:
Also, if I go the cumbersome route of browsing the package categories one by one to find the package I'm looking for, some categories give me database errors like this. Is the project still being maintained at all? Is there a better replacement?
ERROR:
DB Error: syntax error... SELECT p.id, p.name, p.summary, p.license, p.unmaintained, p.newpk_id, (SELECT COUNT(package) FROM
releases WHERE package = p.id) AS numreleases, (SELECT state FROM
releases WHERE package = p.id ORDER BY id DESC LIMIT 1) AS status,
(SELECT version FROM releases WHERE package = p.id ORDER BY id DESC
LIMIT 1) AS version, (SELECT releasedate FROM releases WHERE package =
p.id ORDER BY id DESC LIMIT 1) AS releasedate FROM packages p WHERE
category= [nativecode=1064 ** You have an error in your SQL syntax;
check the manual that corresponds to your MySQL server version for the
right syntax to use near '' at line 9]
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
网站对我来说效果很好。
〜西里克斯
Website works fine for me.
~Cyrix
PECL 仍然与 PHP 相关,但我更喜欢直接从 PHP 文档浏览 PECL 扩展。在此链接中您将找到官方支持的 PECL 扩展
http://www.php.net/manual/en/funcref.php 。如何安装 PECL 扩展可以在 http://www.php.net/ 中找到Manual/en/install.pecl.php
对于手册中未出现的其他扩展,它们可能不会更新或不受支持。如果您仍然需要更多功能,可以查看 PEAR http://pear.php.net/packages.php
PECL is totally still relevant to PHP, but I prefer to browse PECL extensions from PHP Docs directly. In this link you will find the officially supported PECL extensions
http://www.php.net/manual/en/funcref.php. How to install PECL extension can be found in http://www.php.net/manual/en/install.pecl.php
For other extensions not appear in the Manual they may not be updated or not supported. If you still need more functionality you can check PEAR http://pear.php.net/packages.php