Uploaded image for project: 'PHP Legacy Driver'
  1. PHP Legacy Driver
  2. PHP-1528

Extension should link OpenSSL during compilation

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Critical - P2
    • Resolution: Fixed
    • Affects Version/s: 1.6.14
    • Fix Version/s: 1.6.15
    • Component/s: pecl-mongo
    • Labels:
      None
    • Environment:
      Ubuntu 14, Ubuntu 16
    • # Replies:
      11
    • Last comment by Customer:
      true

      Description

      Although the extension conditionally includes libcrypto headers at build time if the OpenSSL extension is available, it does not use PHP_SETUP_OPENSSL() to link to it. This could lead to undefined symbol errors if PHP itself does not happen to load OpenSSL at runtime.

      Original description:

      Pecl extension doesn't load when using PHP 5.6.31. I have confirmed the mongo.so exists and is included in the loaded php.ini file. I see no mention of any issues in the logs. We have no issues if we spin up another box using php version 5.6.28

        Attachments

          Activity

            People

            Assignee:
            jmikola Jeremy Mikola
            Reporter:
            clicklogical Derek Miranda
            Participants:
            Last commenter:
            Githook User
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:
              Days since reply:
              2 years, 48 weeks, 3 days ago
              Date of 1st Reply: