Posted by brant : 2008-02-28 at 5:30 pm
You compiled PHP 5.2.x with zlib figuring that zip support has been installed. Yet you still get an error saying "Fatal Error Class 'ZipArchive' not found". So what to do?
As it turns out you have compiled PHP to work with zlib, yes, but you forgot to enable zip support! php.net/zip says: "In order to use these functions you must compile PHP with zip support by using the --enable-zip configure option."
Once you do that you should be just fine. I encountered this error and didn't see much in the ways of helpful advice.
Now get back to coding.
Similar Blogs:
Site Themes
blog comments powered by Disqus
OLD Comments (5)
wrxbuzz - 2009-12-31 at 14:06:21
Sweet!!! I was banging my head for 3 hours to figure out how to install this php_zip extention. Simply reconfigured PHP all over again with --enable-zip and walla!! its working!!! Brant you're the KING!!!
Programming - 2008-12-05 at 19:17:47
My solution for this problem was to install php 5.2 and the php5-zip package
jiro - 2008-09-08 at 07:34:43
Add "extension=php_zip.dll" in your php.ini
and zlib.output_compression = On
and zlib.output_compression = On
Amy - 2008-05-06 at 07:03:19
How do "compile PHP with zip support by using the --enable-zip configure option."?
:)
Many Thanks
:)
Many Thanks
init7 - 2008-05-05 at 06:34:22
Thanks brant, it solve the problem.
Greetings!
Greetings!
Blog Posts
- The Sad Truth About SEOBook
- Firefox Had Its Chance, It's Time For Google Chrome
- Cancel Your FreeCreditReport.com Account Without Calling
- Automate Wordpress Posting
- MySQL, How To SUM Time Correctly
« Previous
Recent Popular Posts
Most Commented Blog Posts
- Nintendo Wii Sucks (228)
- Microsoft Windows Search Indexer Stopped Working (32)
- GMX Mail Review (31)
- Windows Vista And Windows 7 0x80070017 Error (16)
- How To Block Ad-Brite Transition Ads (14)
