Installed curl manually, and then
Added the following to Environement variables > System Variables > Path
D:\programFiles\PHP
D:\programFiles\Apache\bin
D:\programFiles\Curl
Solved the curl and openssl problems. But I'm having trouble in opcache section.
When I run mooodle, the message is like this:
"PHP setting should be changed" for opcache
I've configured php.ini as recommended on moodle.org.
phpinfo() also doesn't show any info about opcache. Though I've uncommented opcache.enable=1