Hi,
Is there a cross-platform compliant way of finding out the path to the main executables of OpenSSL and GnuPG? Obviously this would be null if the software was not installed or detected.
Hi,
Is there a cross-platform compliant way of finding out the path to the main executables of OpenSSL and GnuPG? Obviously this would be null if the software was not installed or detected.
You can explode $_ENV['PATH'] by PATH_SEPARATOR and look for either openssl or openssl.exe (on Windows) in each of the paths (analogous for GunPG).