OpenEMR Error : OpenEMR is not working since the php openssl module is not installed

I installed openEMR on Windows 10. I get the following error when trying to access openEMR. Any thoughts on how to fix this?

OpenEMR Error : OpenEMR is not working since the php openssl module is not installed.

@srinivasmani
Try enabling php_openssl in php.ini.

  • Go to that location and edit the file named: php.ini.
  • Uncomment the line extension=php_openssl.dll by removing the semicolon at the beginning.
  • Restart the Apache server.

Hope this may solve the issue.

Thanks
Visolve

Here is a copy of the php configuration file. openssl.dll setting is not commented. However I still the error about openssl module not being enabled.

;extension=openssl

;;;;;;;;;;;;;;;;;;;
; Module Settings ;
;;;;;;;;;;;;;;;;;;;
asp_tags=Off
display_startup_errors=On
track_errors=Off
y2k_compliance=On
allow_call_time_pass_reference=Off
safe_mode=Off
safe_mode_gid=Off
safe_mode_allowed_env_vars=PHP_
safe_mode_protected_env_vars=LD_LIBRARY_PATH
error_log=“C:\xampp\php\logs\php_error_log”
register_globals=Off
register_long_arrays=Off
magic_quotes_gpc=Off
magic_quotes_runtime=Off
magic_quotes_sybase=Off
extension=php_openssl.dll

[openssl]
; The location of a Certificate Authority (CA) file on the local filesystem
; to use when verifying the identity of SSL/TLS peers. Most users should
; not specify a value for this directive as PHP will attempt to use the
; OS-managed cert stores in its absence. If specified, this value may still
; be overridden on a per-stream basis via the “cafile” SSL stream context
; option.
openssl.cafile=“C:\xampp\apache\bin\curl-ca-bundle.crt”

; If openssl.cafile is not specified or if the CA file is not found, the
; directory pointed to by openssl.capath is searched for a suitable
; certificate. This value must be a correctly hashed certificate directory.
; Most users should not specify a value for this directive as PHP will
; attempt to use the OS-managed cert stores in its absence. If specified,
; this value may still be overridden on a per-stream basis via the “capath”
; SSL stream context option.
;openssl.capath=

@srinivasmani

1.Remove semicolon( ; ) in front of extension=openssl

2.Restart the Apache server.

Hope this may solve the issue

Thanks
Visolve

Thanks for the suggestion; I did try removing that but it doesn’t seem to help. I still get the same error.

Is Tomcat needed for openSSL? On my XAMPP module I see an error starting Tomcat - port 8080 not available. Would that be the issue?