Unable to load dynamic library on Windows

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Works as Designed
    • Priority: Major - P3
    • None
    • Affects Version/s: 1.4.2
    • Component/s: None
    • None
    • Environment:
      Windows Server 2008 / XAMPP PHP 5.6.31 / x86 / TS
      Windows Server 2012 / XAMPP PHP 7.0.10 / x64 / NTS
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Unable to update the MongoDB driver to any version above 1.29 on either environment.
      Using the standard procedure which we used to update to various versions up to 1.29, no longer works:
      1) Download newest .dll version (https://pecl.php.net/package/mongodb)
      2) Stop server
      3) Replace php_mongodb.dll file with new one
      4) Ensure the "extension=php_mongodb.dll" line is in php.ini (last line of file)
      5) Restart server.

      Verify that mongodb is missing on the phpinfo page
      Error from error.txt:
      "PHP Warning: PHP Startup: Unable to load dynamic library 'C:\\xampp\\php\\ext
      php_mongodb.dll' - %1 is not a valid Win32 application.\r\n in Unknown on line 0"

      When we repeat the same steps but instead install 1.29 is works fine.

        1. 1141-phpinfo.png
          1141-phpinfo.png
          52 kB
        2. 1141-1.2.9.png
          1141-1.2.9.png
          17 kB

            Assignee:
            Unassigned
            Reporter:
            Alex W. [X]
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: