-
Type: Improvement
-
Resolution: Fixed
-
Priority: Unknown
-
Affects Version/s: 1.14.0-beta1
-
Component/s: None
-
None
Related to: Detecting crypt_shared Availability in the CSFLE spec.
This depends on libmongoc providing some API to do so (see: CDRIVER-4414).
Since only one instance of the crypt_shared library should be loaded at any given time, it should be possible to report this via phpinfo() (as we do for libmongoc and libmongocrypt versions) by querying the internal client or Manager registry. If we're concerned about objects being removed from the registry (e.g. Manager using a non-persistent client), we could implement some sort of caching to check for crypt_shared after constructing a Manager and recording that in some internal global for the duration of the process.
- depends on
-
CDRIVER-4414 Allow applications and wrapping drivers to detect crypt_shared availability
- Closed
- is related to
-
PHPC-2131 Ensure CRYPT_SHARED_LIB_PATH is exported for Evergreen tests
- Closed
- related to
-
PHPLIB-942 FunctionalTestCase::getModuleInfo may fail to match some phpinfo() values
- Closed
-
PHPC-2132 get_module_info() test function may fail to match some phpinfo() values
- Closed