Unable to install Composer [closed]

I’m trying to set up Composer on my Windows computer, but the installation keeps failing with the following message:

The PHP exe file you specified did not run correctly:
C:Program Filesphp8.3.9php.exe

The php.ini used by your command-line PHP is: C:Program Filesphp8.3.9php.ini

A setting in your php.ini could be causing the problem: Either the ‘extension_dir’ value is incorrect or a dll does not exist.

Program Output:

PHP Warning: Module “ldap” is already loaded

PHP Warning: Module “mysqli” is already loaded

PHP Warning: PHP Startup: Unable to load dynamic library ‘openssl.dll’ (tried: C:Program Filesphp8.3.9extopenssl.dll (The specified module could not be found), C:Program Filesphp8.3.9extphp_openssl.dll.dll (The specified module could not be found))

PHP Warning: PHP Startup: Unable to load dynamic library ‘php_wincache.dll’ (tried: C:Program Filesphp8.3.9extphp_wincache.dll (The specified module could not be found), C:Program Filesphp8.3.9extphp_php_wincache.dll.dll (The specified module could not be found))

I’ve seen similar issues that recommended uncommenting the line “extension=openssl.dll” in my php.ini file, but I’ve done that and I’m still getting the same error message. Does anyone know what I can do to resolve the issue and complete the installation?