Hi.
I have been trying for several days to figure out how to get SNMP support in php-4.0.3pl1.
I have UCD-SNMP 4.0.1 installed and working perfectly.
I run configure like this (to make the CGI/standalone version):
./configure --enable-track-vars --with-mysql --with-snmp
which works without a problem and 'make' compiles cleanly.
The problem is, when I run ./php, I get the following errors:
Cannot find module (IP-MI😎: At line 0 in (none)
Cannot find module (IF-MI😎: At line 0 in (none)
Cannot find module (TCP-MI😎: At line 0 in (none)
Cannot find module (UDP-MI😎: At line 0 in (none)
Cannot find module (SNMPv2-MI😎: At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
Cannot find module (UCD-SNMP-MI😎: At line 0 in (none)
Cannot find module (UCD-DEMO-MI😎: At line 0 in (none)
Cannot find module (SNMP-VIEW-BASED-ACM-MI😎: At line 0 in (none)
Cannot find module (SNMP-COMMUNITY-MI😎: At line 0 in (none)
Cannot find module (UCD-DLMOD-MI😎: At line 0 in (none)
Cannot find module (SNMP-FRAMEWORK-MI😎: At line 0 in (none)
Cannot find module (SNMP-MPD-MI😎: At line 0 in (none)
Cannot find module (SNMP-USER-BASED-SM-MI😎: At line 0 in (none)
Cannot find module (SNMP-NOTIFICATION-MI😎: At line 0 in (none)
Cannot find module (SNMP-TARGET-MI😎: At line 0 in (none)
Cannot find module (SNMPv2-TM): At line 0 in (none)
It appears that PHP can't find the mibs, but I don't know where PHP is looking for them or how to tell PHP to look elsewhere.
The docs on this topic are sparse at best and searching phpbuilder and google did not come up with any useful information.
Thanks!
-Rich