I wanted to install Zend Framework 2. So I downloaded the skeleton application. As mentioned in the ZF2 manual, we have to issue the command
PHP CLI SAPI is using different php.ini than CGI or Apache module.
php.ini
Find line ;extension=php_openssl.dll in wamp/bin/php/php#.#.##/php.ini and uncomment it by removing the semicolon (;) from the beginning of the line.
;extension=php_openssl.dll
wamp/bin/php/php#.#.##/php.ini
;