Uploaded image for project: 'PHP Driver: Extension'
  1. PHP Driver: Extension
  2. PHPC-1008

Use SETUP_OPENSSL() in config.w32 if available

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 1.2.11, 1.3.0-RC1, 1.3.0
    • Affects Version/s: 1.2.10
    • Component/s: None
    • Labels:
      None
    • Environment:
      Windows

      PHP 7.1.2 introduced a SETUP_OPENSSL() function in confutils.js for Windows builds (df1e1fd), which adds support for OpenSSL 1.1. We should use this function if available, as the PECL's Windows build environment for PHP 7.2 uses OpenSSL 1.1.

      Our existing logic in config.w32 only detects libraries for OpenSSL 1.0, which lead to the driver being configured without OpenSSL support (independent of us requiring the OpenSSL PHP module). This exposed compiler errors for a PHP 7.2 build of the recent 1.2.10 release. Backporting PHPC-875 to v1.2 would address those errors.

            Assignee:
            jmikola@mongodb.com Jeremy Mikola
            Reporter:
            jmikola@mongodb.com Jeremy Mikola
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: