Home
last modified time | relevance | path

Searched refs:snmp (Results 1 – 15 of 15) sorted by relevance

/PHP-7.4/ext/snmp/tests/
H A Dreflection.phpt4 <?php if (!extension_loaded('snmp')) die ("skip no snmp extension"); ?>
10 echo new reflectionmethod('snmp', '__construct');
11 echo new reflectionmethod('snmp', 'close');
12 echo new reflectionmethod('snmp', 'setSecurity');
13 echo new reflectionmethod('snmp', 'get');
14 echo new reflectionmethod('snmp', 'getnext');
15 echo new reflectionmethod('snmp', 'walk');
16 echo new reflectionmethod('snmp', 'set');
17 echo new reflectionmethod('snmp', 'getErrno');
18 echo new reflectionmethod('snmp', 'getError');
[all …]
H A DREADME.md1 # The snmp extension tests
5 * PHP compiled with SNMP `--with-snmp`
26 make -C ../../.. test TESTS="`cd ../../..; /bin/ls -1 ext/snmp/tests/*.phpt | xargs echo`"
38 * Replace config file (by default this is `/etc/snmp/snmpd.conf` on Linux and
39 `/usr/local/etc/snmp/snmpd.conf` on FreeBSD) with `snmpd.conf` supplied.
42 `/var/net-snmp/snmpd.conf`. Delete it if exists. Forgetting to do so will fail
45 * Place `ext/snmp/tests/bigtest` near `snmpd.conf`, tune path to it in
H A Dskipif.inc2 extension_loaded('snmp') or die('skip snmp extension not available in this build');
H A Dsnmp_include.inc21 $mibdir = getenv('SNMP_MIBDIR') ?: "/usr/local/share/snmp/mibs";
23 $mibdir = getenv('SNMP_MIBDIR') ?: "/usr/share/snmp/mibs";
H A Dsnmpd.conf27 exec HexTest /bin/sh /etc/snmp/bigtest
H A Dbug72479.phpt10 $poc = 'a:3:{i:1;N;i:2;O:4:"snmp":1:{s:11:"quick_print";'.serialize($arr).'}i:1;R:7;}';
/PHP-7.4/ext/snmp/
H A Dconfig.w323 ARG_WITH("snmp", "SNMP support", "no");
6 …if (CHECK_HEADER_ADD_INCLUDE("snmp.h", "CFLAGS_SNMP", PHP_PHP_BUILD + "\\include\\net-snmp;" + PHP…
7 SETUP_OPENSSL("snmp", PHP_SNMP) > 0) {
8 if (CHECK_LIB("netsnmp.lib", "snmp", PHP_SNMP)) {
9 EXTENSION('snmp', 'snmp.c');
12 WARNING("snmp not enabled; libraries and headers not found");
15 WARNING("snmp not enabled; libraries and headers not found");
H A Dconfig.m41 PHP_ARG_WITH([snmp],
3 [AS_HELP_STRING([[--with-snmp[=DIR]]],
9 AC_PATH_PROG(SNMP_CONFIG,net-snmp-config,,[/usr/local/bin:$PATH])
11 SNMP_CONFIG="$PHP_SNMP/bin/net-snmp-config"
30 AC_MSG_ERROR([Could not find the required paths. Please check your net-snmp installation.])
36 AC_MSG_ERROR([Could not find net-snmp-config binary. Please check your net-snmp installation.])
57 PHP_NEW_EXTENSION(snmp, snmp.c, $ext_shared)
H A Dphp_snmp.h45 PHP_MINIT_FUNCTION(snmp);
46 PHP_MSHUTDOWN_FUNCTION(snmp);
47 PHP_MINFO_FUNCTION(snmp);
123 ZEND_BEGIN_MODULE_GLOBALS(snmp)
125 ZEND_END_MODULE_GLOBALS(snmp)
H A Dsnmp.c413 ZEND_GET_MODULE(snmp)
1794 PHP_METHOD(snmp, close) in PHP_METHOD() argument
1813 PHP_METHOD(snmp, get) in PHP_METHOD() argument
1829 PHP_METHOD(snmp, walk) in PHP_METHOD() argument
1837 PHP_METHOD(snmp, set) in PHP_METHOD() argument
2265 PHP_MINIT_FUNCTION(snmp) in PHP_MINIT_FUNCTION() argument
2365 PHP_MINFO_FUNCTION(snmp) in PHP_MINFO_FUNCTION() argument
2390 PHP_MINIT(snmp),
2391 PHP_MSHUTDOWN(snmp),
2394 PHP_MINFO(snmp),
[all …]
/PHP-7.4/appveyor/
H A Dbuild_task.bat54 set EXT_EXCLUDE_FROM_TEST=snmp,oci8_12c,pdo_oci,pdo_firebird,ldap,imap,ftp
/PHP-7.4/
H A DEXTENSIONS453 EXTENSION: snmp
H A Dphp.ini-development940 ; See http://www.php.net/manual/en/snmp.installation.php
941 ;extension=snmp
H A Dphp.ini-production940 ; See http://www.php.net/manual/en/snmp.installation.php
941 ;extension=snmp
H A DNEWS594 . Fixed bug #70461 (disable md5 code when it is not supported in net-snmp).

Completed in 41 milliseconds