Lets start from the beginning.
I was using Bitnami NGINX stack 1.10.0. on windows 8.1 (then windows 10) with Drupal 7.43 and everything was fine.
Recently I uninstalled the stack and tried installing Apache 2.4, PHP 5.6 and MySQL. That too went well. Drupal 7.43 is now up and running on localhost without clean urls (I still have no success with clean urls, working on it :-)...).
But when I tried to update a module from 'Available updates', that resulted in

HTTP error <'9 digit number which keeps changing'> occurred while trying to fetch

Take a look at this snip: http://s32.postimg.org/i2p6rkun9/Capture.png
I haven't done anything too much fancy. Just plain and simple apache and php.
Drupal is able to check updates (of core and modules both). Status Report is all clear, not a single error.
To solve this problem, I tried both 32 and 64 bit versions of apache and php, also tried php 5.5, still no success.
Please guide.

Comments

John Morahan’s picture

Does your PHP have OpenSSL enabled?

AshwinB’s picture

;extension=php_openssl.dll is commented. Other directives (openssl.cafile and openssl.capath) are also commented.

John Morahan’s picture

Well, I imagine that might be the problem then. Note that while the update information is fetched over HTTP, the actual updated code is fetched over HTTPS - which could explain why one is working and the other is not. Have you tried uncommenting those lines? (I'm not familiar enough with Windows to know if that's sufficient)

AshwinB’s picture

I haven't tried it. I wasn't having any idea about openSSL, will do now.. Thanks a lot.

AshwinB’s picture

Enabled the openssl, and now I can install modules through URL. Tons of thanks :-)