0

I'm using PHP 5 and apache 2.2 on XP prof, but did not install zip extension during the initial php/apache installation.

I have downloaded and extracted Pecl-5.16-win32zip package and extracted the contents (including php_zip.dll) to c:\PHP\ext. I have also amended the php.ini and included the line extension=php_zip.dll

I have checked my php.ini extensions parameter (extension_dir ="C:\PHP\ext"), this seems correct.

However, When I restart Apache, I get a frustrating windows error (Apache HTTP Server has encountered a problem and needs to close. We are sorry for the inconvenience.) followed by an apache error "the requested operation has failed!"

I have searched high and low for a resolution but seem to be going in circles. Is there something simple I've have missed?

Can anyone help?

3
Contributors
4
Replies
5
Views
7 Years
Discussion Span
Last Post by rajibmaity
0
reinstall your php 5 choose "CHANGE" then "CHOOSE ITEM TO INSTALL" select the "EXTENSION" select the "zip".

then edit php.ini put this.
[PHP_ZIP]
extension=php_zip.dll


look for the zip dll in your ext folder.

Edited by phpbeginners: n/a

0

many thanks,
A full installation of PHP was required. For some strange reason, a windows "repair" adding the ZIP extension did not work.

0

i got the same problem. but i am using xampp 1.7.7. now how to 'change' the installation and include zip.dll?

This question has already been answered. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.