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
https://forums.phpfreaks.com/topic/106887-php_snmpdll-does-not-seem-to-be-loading/
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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.