efficacious Posted August 13, 2008 Share Posted August 13, 2008 Hello everyone, I'm trying to expiriment with the ZipArchive functions and I keep getting this error Fatal error: Class 'ZipArchive' not found I've installed the DLL and my phpINFO page shows that zip is enabled. any ideas? thanks all, eff Link to comment https://forums.phpfreaks.com/topic/119480-solved-fatal-error-class-ziparchive-not-found/ Share on other sites More sharing options...
efficacious Posted August 13, 2008 Author Share Posted August 13, 2008 This is what phpinfo says: ZLib Support enabled Stream Wrapper support compress.zlib:// Stream Filter support zlib.inflate, zlib.deflate Compiled Version 1.2.3 Linked Version 1.2.3 if that helps Link to comment https://forums.phpfreaks.com/topic/119480-solved-fatal-error-class-ziparchive-not-found/#findComment-615540 Share on other sites More sharing options...
efficacious Posted August 13, 2008 Author Share Posted August 13, 2008 does anyone know how to fix this? or could you point me towards something else to use. I mainly just need to create zips thankx Link to comment https://forums.phpfreaks.com/topic/119480-solved-fatal-error-class-ziparchive-not-found/#findComment-615716 Share on other sites More sharing options...
efficacious Posted August 13, 2008 Author Share Posted August 13, 2008 bump Link to comment https://forums.phpfreaks.com/topic/119480-solved-fatal-error-class-ziparchive-not-found/#findComment-615786 Share on other sites More sharing options...
DarkWater Posted August 13, 2008 Share Posted August 13, 2008 What version of PHP? Link to comment https://forums.phpfreaks.com/topic/119480-solved-fatal-error-class-ziparchive-not-found/#findComment-615788 Share on other sites More sharing options...
efficacious Posted August 13, 2008 Author Share Posted August 13, 2008 o im sry that could help huh lol php5.2.6 Microsoft-IIS/5.1 Link to comment https://forums.phpfreaks.com/topic/119480-solved-fatal-error-class-ziparchive-not-found/#findComment-615795 Share on other sites More sharing options...
DarkWater Posted August 13, 2008 Share Posted August 13, 2008 AH EWW IIS. >_< *Dies* Uhh, I don't see why it wouldn't work actually. Could be an IIS bug? >_< Google it and see if anyone has similar problems. Link to comment https://forums.phpfreaks.com/topic/119480-solved-fatal-error-class-ziparchive-not-found/#findComment-615799 Share on other sites More sharing options...
efficacious Posted August 13, 2008 Author Share Posted August 13, 2008 i've been googling ALL day.. found absolutely nothing... came across a few posts with the same error messsages but they were never responded to. there must be some reason ZipArchive don't work. (my boss is a microsoft fan >P) Link to comment https://forums.phpfreaks.com/topic/119480-solved-fatal-error-class-ziparchive-not-found/#findComment-615805 Share on other sites More sharing options...
DarkWater Posted August 13, 2008 Share Posted August 13, 2008 i've been googling ALL day.. found absolutely nothing... came across a few posts with the same error messsages but they were never responded to. there must be some reason ZipArchive don't work. (my boss is a microsoft fan >P) Tell your boss that Bill Gates gives Apache two thumbs way up? Link to comment https://forums.phpfreaks.com/topic/119480-solved-fatal-error-class-ziparchive-not-found/#findComment-615809 Share on other sites More sharing options...
efficacious Posted August 13, 2008 Author Share Posted August 13, 2008 lol I use apache2.2 at home Link to comment https://forums.phpfreaks.com/topic/119480-solved-fatal-error-class-ziparchive-not-found/#findComment-615813 Share on other sites More sharing options...
efficacious Posted August 13, 2008 Author Share Posted August 13, 2008 hehe sry dark.. you are going to hate me! ??? I'm such a noob: Yea so after i first uncommented the php_zip.dll it says to restart the service so I went into IIS stop and started the service again.. Would not work.. after all this searching I figure wth why not just restart the server compeletly and wouldn't you know it... instead of getting: Fatal error: Class 'ZipArchive' not found i got: OPENED ARCHIVE! Notice: Undefined variable: numFiles in so its working now *palm../FACE! Link to comment https://forums.phpfreaks.com/topic/119480-solved-fatal-error-class-ziparchive-not-found/#findComment-615830 Share on other sites More sharing options...
DarkWater Posted August 13, 2008 Share Posted August 13, 2008 I didn't think I needed to tell you to restart the server. ._. Otherwise I would have. Link to comment https://forums.phpfreaks.com/topic/119480-solved-fatal-error-class-ziparchive-not-found/#findComment-615831 Share on other sites More sharing options...
efficacious Posted August 13, 2008 Author Share Posted August 13, 2008 the zlib in the phpinfo is wat threw me.. says this now in phpinfo: zip Zip enabled Extension Version $Id: php_zip.c,v 1.96 2007/01/06 20:25:14 nlopess Exp $ Zip version @PACKAGE_VERSION@ Libzip version 0.7.1 Link to comment https://forums.phpfreaks.com/topic/119480-solved-fatal-error-class-ziparchive-not-found/#findComment-615834 Share on other sites More sharing options...
efficacious Posted August 13, 2008 Author Share Posted August 13, 2008 well i figured restarting the service was the same thing... i guess not.. i'm to used to my apache at home.. all i have to do there is stop and restart the webserver. Link to comment https://forums.phpfreaks.com/topic/119480-solved-fatal-error-class-ziparchive-not-found/#findComment-615836 Share on other sites More sharing options...
efficacious Posted August 13, 2008 Author Share Posted August 13, 2008 thank you for helping me dark, eff Link to comment https://forums.phpfreaks.com/topic/119480-solved-fatal-error-class-ziparchive-not-found/#findComment-615841 Share on other sites More sharing options...
DarkWater Posted August 13, 2008 Share Posted August 13, 2008 thank you for helping me dark, eff No problem, just mark this topic as solved. Link to comment https://forums.phpfreaks.com/topic/119480-solved-fatal-error-class-ziparchive-not-found/#findComment-615845 Share on other sites More sharing options...
doddatika Posted March 30, 2009 Share Posted March 30, 2009 hehe sry dark.. you are going to hate me! ??? I'm such a noob: Yea so after i first uncommented the php_zip.dll it says to restart the service so I went into IIS stop and started the service again.. Would not work.. after all this searching I figure wth why not just restart the server compeletly and wouldn't you know it... instead of getting: Fatal error: Class 'ZipArchive' not found i got: OPENED ARCHIVE! Notice: Undefined variable: numFiles in so its working now *palm../FACE! Hey I wasted my time too. Right, I use WAMP on XPSP2. Just restarted the webserver and it all worked. Thanks alot guys. Dont forget to enjoy Life. !!! Link to comment https://forums.phpfreaks.com/topic/119480-solved-fatal-error-class-ziparchive-not-found/#findComment-796991 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.