help me, can't find php function snmpwalk() from Web Browser

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • tigerwang1974@gmail.com

    help me, can't find php function snmpwalk() from Web Browser

    Hi, I had installed net-snmp-5.1.4 source package and php-4.3.9 source
    package complied with snmp options on my solaris9 server. I wrote a
    php script using snmpwalk() function to get some OIDs, when I wanted to
    access the php script from Internet Explorer, error message like the
    following occured:
    Fatal error: Call to undefined function: snmpwalk() in
    /opt/htdocs/functions.php
    it's strange because the php script worked very well when I run it
    under CLI, such as, "php functions.php". So I have no idea what
    mistakes I have made. Please do me a favor, thanks in advance.

  • Sjoerd

    #2
    Re: help me, can't find php function snmpwalk() from Web Browser

    Your installation is broken. The php module which the web browser uses
    is another version than the command-line php.

    Comment

    Working...