Solved

how to enable zipArchive in php 5.2.3 on windows

Posted on 2008-10-20
4
1,771 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Suggested Solutions

Nothing in an HTTP request can be trusted, including HTTP headers and form data.  A form token is a tool that can be used to guard against request forgeries (CSRF).  This article shows an improved approach to form tokens, making it more difficult to…
Introduction This article is intended for those who are new to PHP error handling (https://www.experts-exchange.com/articles/11769/And-by-the-way-I-am-New-to-PHP.html).  It addresses one of the most common problems that plague beginning PHP develop…
Explain concepts important to validation of email addresses with regular expressions. Applies to most languages/tools that uses regular expressions. Consider email address RFCs: Look at HTML5 form input element (with type=email) regex pattern: T…
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 …

738 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