Found the Answer.
- Remove
;extension=php_zip.dll
line in php.ini
.
- Restart Apache HTTP Server.
Previous versions of PHP shipped with separate php_zip.dll
file in ext
folder. And we need to enable (comment out the ;extension=php_zip.dll
line in php.ini
) the zip extension manually.
Latest version - PHP 5.5
includes this zip
support in core and it is enabled by default.
But the line ;extension=php_zip.dll
was left there in php.ini
even though it is not needed.
As usual after installing PHP 5.5
, I enabled (commented out) ;extension=php_zip.dll
line in php.ini
, thinking that it is a separate extension.
In this case, Composer couldn't find php_zip.dll
.
I removed the ;extension=php_zip.dll
line in php.ini
.
Restarted Apache HTTP Server.
Worked fine.