Jump to content

php_snmp.dll does not seem to be loading.


Recommended Posts

Hey guys,

 

PHP 5.2.6 with IIS6. Have everything up and running, however the php_snmp.dll does not appear to be loading. Whenever attempting to run a snmpget function, i get (obviously) 'Fatal error: Call to undefined function snmpget()'.

 

Running a script to show loaded modules gives me:

 

Array
(
    [0] => bcmath
    [1] => calendar
    [2] => cgi-fcgi
    [3] => com_dotnet
    [4] => ctype
    [5] => date
    [6] => dom
    [7] => filter
    [8] => ftp
    [9] => hash
    [10] => iconv
    [11] => json
    [12] => libxml
    [13] => odbc
    [14] => pcre
    [15] => Reflection
    [16] => session
    [17] => SimpleXML
    [18] => SPL
    [19] => standard
    [20] => tokenizer
    [21] => wddx
    [22] => xml
    [23] => xmlreader
    [24] => xmlwriter
    [25] => zlib
)

 

I have tripple checked that extension=php_snmp.dll is loaded (and not commented out) in php.ini, and that the file actually exists in PHP\ext. Any suggestions..?

Link to comment
Share on other sites

Make sure the php.ini that you are changing is the one that php is using (there is a line near the top in the phpinfo(); statement output that shows what if any php.ini is actually being used.)

 

On IIS you must stop and start the IIS server service (in the services console) to get changes made to php.ini to take effect. Just stopping and starting the web site in the IIS management console is not enough as it does not cause the web server to reload php and the php.ini file.

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.