Page 1 of 1

SNMP Support in XAMPP

PostPosted: 01. November 2011 11:15
by hhammerl
Hi,

i try to get snmp to work with xampp.

I've installed XAMPP Version 1.7.7. on Windows XP
I removed the semicolon from the php.ini for the line extension=php_snmp.dll.
When I try to start apache i get a bunch of error messages like:

Code: Select all
Cannot find module (IP-MIB): At line 0 in (none)
Cannot find module (IF-MIB): At line 0 in (none)
Cannot find module (TCP-MIB): At line 0 in (none)

What do I need to configure to get the apache webserver to work?

Re: SNMP Support in XAMPP

PostPosted: 01. November 2011 12:45
by Sharley
In 1.7.7 comment out the php_snmp.dll again in the php.ini file so you can use Apache, as I believe that extension dll is not compiled for the thread safe (TS) PHP module of Apache.

So in effect snmp will not work with 1.7.7 at this time.

The last version I tested that seemed to worked without crashing Apache was 1.7.3

I will pass this on to the developer but can't guarantee that there will be a fix until the correct dll is released.

Best wishes.

Re: SNMP Support in XAMPP

PostPosted: 02. November 2011 00:56
by hackattack142
With a little work, I think I was able to get Apache running with this extension enabled without any errors/warnings. I installed an Apache module that is able to load PHP via the php-cgi.exe as per the advice here: http://www.apachelounge.com/viewtopic.php?t=4038


This topic has been moderated to protect forum readers and members.
Support for the above modifications may be provided at the Apache Lounge forums not here.