OpenSSL DLLs for PHP 7.0.27 with FIPS Compliant
- 64 Bit Machine
- PHP 7.0.27 version or 7.0.X
- Open PHP directory where you have installed, or may find the path where you have located php.exe and php.ini
- Copy and past below 2 files inside PHP main directory:
libeay32.dll
sslaey32.dll
-
Copy php/ext/php_openssl.dll file from extracted directory to inside your php/ext/ directory
-
Update your php.ini file to enable openssl extension by removing ; from line start
extension=php_openssl.dll
-
Restart IIS Server
-
If you would like to test openssl fips enabled extension, you may test by executing following lines:
<?php
openssl_fips_init();
echo openssl_fips_enabled();
?>
Cheers !