PHP: Cannot find module (IP-MIB)
May 13th, 2009Â While trying to run php scripts today, i encounter the following error:
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)
Cannot find module (UDP-MIB): At line 0 in (none)
Cannot find module (SNMPv2-MIB): At line 0 in (none)
Cannot find module (SNMPv2-SMI): At line 0 in (none)
points to note: i installed php 5.2.9-2 using windows msi. thus, the mib files are missing.. to remedy it, go and download the binary files of php for windows. The mib files are found in the ext directory of it. copy over to extras of your main php folder and the usr folder in c:\. and it should work fine.
If running php says there is a missing dlls, open php.ini from your php folder. comment out (using
the dlls which are enountering problem. sometimes though, theres a spelling mistake or a mis-placement of files. just make sure that the required dlls are in ext folder of your php folder.
