PHP errors

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jacobb
    New Member
    • Apr 2006
    • 1

    PHP errors

    I have just installed PHP server 5 on 2003 server with iis 6. I can access .php sites but they always throw errors at me. I get this error every time. Can anyone tell me how to get rid of it and what it is. The pages all come up fine but this error message comes up above the page and below it.



    PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php _cpdf.dll' - The specified module could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php _dbx.dll' - The specified module could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php _iisfunc.dll' - The specified module could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php _java.dll' - The specified module could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php _pdf.dll' - The specified module could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php _ffi.dll' - The specified module could not be found. in Unknown on line 0 PHP Warning: PHP Startup: Unable to load dynamic library 'C:\PHP\ext\php _zip.dll' - The specified module could not be found. in Unknown on line 0 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) Cannot find module (UCD-SNMP-MIB): At line 0 in (none) Cannot find module (UCD-DEMO-MIB): At line 0 in (none) Cannot find module (SNMP-TARGET-MIB): At line 0 in (none) Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none) Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none) Cannot find module (UCD-DLMOD-MIB): At line 0 in (none) Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none) Cannot find module (SNMP-MPD-MIB): At line 0 in (none) Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none) Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none) Cannot find module (SNMPv2-TM): At line 0 in (none)
    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) Cannot find module (UCD-SNMP-MIB): At line 0 in (none) Cannot find module (UCD-DEMO-MIB): At line 0 in (none) Cannot find module (SNMP-TARGET-MIB): At line 0 in (none) Cannot find module (SNMP-VIEW-BASED-ACM-MIB): At line 0 in (none) Cannot find module (SNMP-COMMUNITY-MIB): At line 0 in (none) Cannot find module (UCD-DLMOD-MIB): At line 0 in (none) Cannot find module (SNMP-FRAMEWORK-MIB): At line 0 in (none) Cannot find module (SNMP-MPD-MIB): At line 0 in (none) Cannot find module (SNMP-USER-BASED-SM-MIB): At line 0 in (none) Cannot find module (SNMP-NOTIFICATION-MIB): At line 0 in (none) Cannot find module (SNMPv2-TM): At line 0 in (none)
  • Patc4
    New Member
    • Jun 2006
    • 1

    #2
    Getting rid of the MIBS errors in PHP5

    I tried commenting out the SNMP line in php.ini

    ;extension=php_ snmp.dll removeal to stop mibs errors and it worked!

    the other errors were easy to find as the dll was the same name as in the warning message - again just comment out the dll in the list in php.ini.

    Phew it has taken many hours today and yesterday but at last I have PHP5 and MySQL installed on IIS (Windows XP) and can connect to a database and run a php query AND no errors.

    I do not now where I can get php_snmp.dll yet, perhaps I'll wait until I need it! :)

    What will go wrong now I wonder. :eek:

    Comment

    • dmain1971
      New Member
      • Apr 2007
      • 6

      #3
      Originally posted by Patc4
      I tried commenting out the SNMP line in php.ini

      ;extension=php_ snmp.dll removeal to stop mibs errors and it worked!

      the other errors were easy to find as the dll was the same name as in the warning message - again just comment out the dll in the list in php.ini.

      Phew it has taken many hours today and yesterday but at last I have PHP5 and MySQL installed on IIS (Windows XP) and can connect to a database and run a php query AND no errors.

      I do not now where I can get php_snmp.dll yet, perhaps I'll wait until I need it! :)

      What will go wrong now I wonder. :eek:



      The php_snmp.dll should be part of the windows binaries or the windows zip so that is not actually the problem. The problem is all the dependencies (mods) that snmp needs (IP, TCP ...) so if you commentn out snmp then it will quit looking for the dependencies. I had the same problem when I installed the snmp extension from the windows binaries.

      Now at least I have it running on my local windows pro laptop. we'll see what happens when I move it to production. :)

      Comment

      • Ganon11
        Recognized Expert Specialist
        • Oct 2006
        • 3651

        #4
        This question belongs in the PHP forum. I'm moving it there now...

        Comment

        Working...