Answer found.
- Delete the line
;extension=php_zip.dll in php.ini . - Restart the Apache HTTP server.
Previous versions of PHP come with a separate php_zip.dll file in the ext folder. And we need to enable (comment out the line ;extension=php_zip.dll in php.ini ) the zip extension manually.
The latest version - PHP 5.5 includes this kernel zip support and is enabled by default.
But the line ;extension=php_zip.dll remained there in php.ini , although it is not needed.
As usual after installing PHP 5.5 , I included (commented out) ;extension=php_zip.dll line in php.ini , believing that this is a separate extension.
In this case, the composer could not find php_zip.dll .
I deleted the line ;extension=php_zip.dll in php.ini .
Rebooted Apache HTTP Server.
It worked fine.
source share