Trying to load openSSL and Curl extensions for PHP but whenever I restart the Apache service I get the same error for both
PHP Startup: Unable to load dynamic library 'openssl' (tried: C:/PHP/ext\\openssl) in Unknown on line 0
The PDO extension is getting loaded (I've been using it some time so I am 100% sure). Not only that but if I start Apache writing httpd.exe from a terminal all the PHP extension load and work perfectly! Its only when running httpd.exe -k start or starting it from services.msc that I have this problem.
I can have it working if I just start it from the terminal but it kinda bugs me out that I cant have it running as a normal service. I've also tried different PHP versions, and reinstalling Apache service, with no success.
Running in Windows 10 x64, Apache/2.4.25 (Win64) and PHP 7.3.4 (x64)