SNMP w/ PHP and Apache Win32

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
daveovercash
Forum Newbie
Posts: 2
Joined: Thu Jun 13, 2002 9:24 am
Location: Chicago, IL, U.S.
Contact:

SNMP w/ PHP and Apache Win32

Post by daveovercash »

Hello,
I currently have an Apache server set up on my WinXP box, working correctly with PHP 4.1.2. I downloaded the Win32 UCD-SNMP (Net-SNMP) package. How can I get PHP and Apache to recognize this? I've tried everything! ;-)
--Dave
User avatar
volka
DevNet Evangelist
Posts: 8391
Joined: Tue May 07, 2002 9:48 am
Location: Berlin, ger

Post by volka »

What do you mean with 'recognize'?
Haven't downloaded the packages but as far as I know you have to run the smptd which will be your local agent to process incoming requests.
When running you can contact it with php snmp functions. But note this from the php manual
In order to use the SNMP functions on Unix you need to install the UCD SNMP package. On Windows these functions are only available on NT and not on Win95/98.
[edit]arghhhh, meant SNMPd :oops: [/edit]
Post Reply