SNMP functions
Posted by: waterboy550 (---.static.klmz.mi.charter.com)
Date: September 28, 2012 03:41AM

How do I get the ability to use any SNMP functions? I've updated my php to 5.4.3 which I thought supported it, however I get similar errors when running any SNMP functions.

Fatal error: Call to undefined function snmp2_get() in C:\wamp\www\SmartFarm\SmartFarm\test.php on line 33

I've tried all the functions listed here (http://php.net/manual/en/ref.snmp.php).

What do I need to do?

Options: ReplyQuote
Re: SNMP functions
Posted by: waterboy550 (---.static.klmz.mi.charter.com)
Date: September 28, 2012 04:59AM

Apparently all I had to do was add this to my php.ini file.

; Enable snmp extension module
extension = php_snmp.dll

Why is this not explained anywhere?

Options: ReplyQuote
Re: SNMP functions
Posted by: stevenmartin99 (Moderator)
Date: September 28, 2012 05:11AM

Sorry?? Why would it be explained somewhere ...

If you let click the wamp icon beside your clock then Goto

Php > extensions > php_snmp. , it will enable it.

Steven Martin
stevenmartin99@gmail.com
stevenmartin99@hotmail.com
PampServer.com - [pampserver.com]

Options: ReplyQuote


Sorry, only registered users may post in this forum.