Solved

how to enable zipArchive in php 5.2.3 on windows

Posted on 2008-10-20
4
1,728 Views
Last Modified: 2013-12-13
Hi experts,

We're running a build of php 5.2.3 but the zipArchive isn't working and we get:

Fatal error: Class 'ZipArchive' not found in ourfilename.php

php_zip.dll is in the ext folder and the extension is enabled in php.ini

What else do we need to do?

Help appreciated...
0
Comment
Question by:jammy-d0dger
  • 2
4 Comments
 
LVL 36

Expert Comment

by:Loganathan Natarajan
ID: 22760171
did you compile with, --enable-zip configure option
0
 

Author Comment

by:jammy-d0dger
ID: 22760203
didn't compile it ourselves, it was pre-installed on a Fasthosts Dedicated server...  could you please give me instructions on exactly what I would need to do to compile as you mention above... we have full desktop access so we can do anything required.
0
 
LVL 6

Expert Comment

by:thebradnetwork
ID: 22762791
Is this a windows or Linux server?
0
 
LVL 6

Accepted Solution

by:
thebradnetwork earned 500 total points
ID: 22762824
I am going to assume a Windows box because you said you had "desktop access" and you mentioned a DLL file.

To get it working on a Windows machine your going to need to go download  zLib ( http://www.zlib.net/ ) here are the instructions given by PHP on how to get it running ( http://us2.php.net/manual/en/zip.installation.php )
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Introduction HTML checkboxes provide the perfect way for a web developer to receive client input when the client's options might be none, one or many.  But the PHP code for processing the checkboxes can be confusing at first.  What if a checkbox is…
This article discusses four methods for overlaying images in a container on a web page
This tutorial will teach you the core code needed to finalize the addition of a watermark to your image. The viewer will use a small PHP class to learn and create a watermark.
The viewer will learn how to create a basic form using some HTML5 and PHP for later processing. Set up your basic HTML file. Open your form tag and set the method and action attributes.: (CODE) Set up your first few inputs one for the name and …

821 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question