rhyspaterson Posted May 23, 2008 Share Posted May 23, 2008 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..? Quote Link to comment Share on other sites More sharing options...
PFMaBiSmAd Posted May 23, 2008 Share Posted May 23, 2008 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. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.