SNMP Support in XAMPP

Problems with the Windows version of XAMPP, questions, comments, and anything related.

SNMP Support in XAMPP

Postby hhammerl » 01. November 2011 11:15


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?
Posts: 1
Joined: 01. November 2011 11:08
Operating System: Windows XP

Re: SNMP Support in XAMPP

Postby Sharley » 01. November 2011 12:45

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.
User avatar
AF Moderator
Posts: 3316
Joined: 03. October 2008 05:10
Location: Yeppoon, Australia Time Zone: GMT/UTC+10
Operating System: Win 7 Pro 32bit/XP Pro SP3

Re: SNMP Support in XAMPP

Postby hackattack142 » 02. November 2011 00:56

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:

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.
Last edited by Sharley on 02. November 2011 03:13, edited 3 times in total.
Reason: Please do not post Apache Lounge hacks in this forum but do post links so that readers and members can make the decision whether or not to experiment with their systems. This Apache Friends Support Forum nor the developers can be held responsible.
XAMPP Control Panel Developer
Latest CP: viewtopic.php?f=16&t=48932
Posts: 703
Joined: 20. May 2011 23:29
Operating System: Windows 7 Ultimate SP1 64-Bit

Return to XAMPP for Windows

Who is online

Users browsing this forum: No registered users and 39 guests