Fatal error: Class 'ZipArchive' not found

misson

Community Paragon
Community Support
Messages
2,572
Reaction score
72
Points
48
What language are you using? PHP? The zip PHP extension is installed. What's a minimal test case that gives you the error? Is there any more to the error message? Creating a ZipArchive works fine for me.
Code:
$z = new ZipArchive();

You can also use the zlib extension to compress data.
 
Last edited:

misson

Community Paragon
Community Support
Messages
2,572
Reaction score
72
Points
48
What host are you on? The samples work on Lotus. Sometimes some extensions accidentally get left out when PHP is built. The best course is to open a support ticket.
 

ichwar

Community Advocate
Community Support
Messages
1,454
Reaction score
7
Points
0
Yes. Just submit a support ticket, and someone will get your archiving plugin installed.
 
Top