Home  >  Article  >  Backend Development  >  php目录下extras文件夹下的文件哪里获得?

php目录下extras文件夹下的文件哪里获得?

WBOY
WBOYOriginal
2016-06-06 20:49:201801browse

以前一直用Xampp,也没注意。

前段时间,要安装服务器监控类的软件Cacti,用到MIB文件

xampp带的php,目录下面的extras文件夹里面已经有了

而自己去官网下的php压缩包,里面什么都没有。 查看install.txt,只给出了个文件夹结构

x:\php
   |
   +--extras
   |  |
   |  +--mibs             -- support files for SNMP
   |  |
   |  +--openssl          -- support files for Openssl
   |  |
   |  +--pdf-related      -- support files for PDF
   |  |
   |  |-mime.magic

5.2.x时 mibs什么的都是有的。

Bug列表上的这个Bug:https://bugs.php.net/bug.php?id=55557

说明5.3.x应该有才是...

但实际情况是5.3.x以上 extras下面什么都没有,或单有个openssl.cnf。

Google了很长时间,都没有找到答案。

PHP文档http://php.net/manual/en/snmp.installation.php

也有说去 Net-SNMP下载MIB文件...

虽然实际使用的确是装Net-SNMP的用,但是这总是个让我很困惑的地方...(尼玛是蛋疼吧...)

所以请问 extras 下面的文件哪里去获得?

谢谢。

回复内容:

以前一直用Xampp,也没注意。

前段时间,要安装服务器监控类的软件Cacti,用到MIB文件

xampp带的php,目录下面的extras文件夹里面已经有了

而自己去官网下的php压缩包,里面什么都没有。 查看install.txt,只给出了个文件夹结构

x:\php
   |
   +--extras
   |  |
   |  +--mibs             -- support files for SNMP
   |  |
   |  +--openssl          -- support files for Openssl
   |  |
   |  +--pdf-related      -- support files for PDF
   |  |
   |  |-mime.magic

5.2.x时 mibs什么的都是有的。

Bug列表上的这个Bug:https://bugs.php.net/bug.php?id=55557

说明5.3.x应该有才是...

但实际情况是5.3.x以上 extras下面什么都没有,或单有个openssl.cnf。

Google了很长时间,都没有找到答案。

PHP文档http://php.net/manual/en/snmp.installation.php

也有说去 Net-SNMP下载MIB文件...

虽然实际使用的确是装Net-SNMP的用,但是这总是个让我很困惑的地方...(尼玛是蛋疼吧...)

所以请问 extras 下面的文件哪里去获得?

谢谢。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn