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 Quote Link to comment 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 Quote Link to comment 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 Quote Link to comment Share on other sites More sharing options...
efficacious Posted August 13, 2008 Author Share Posted August 13, 2008 bump Quote Link to comment Share on other sites More sharing options...
DarkWater Posted August 13, 2008 Share Posted August 13, 2008 What version of PHP? Quote Link to comment 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 Quote Link to comment 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. Quote Link to comment 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) Quote Link to comment 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? Quote Link to comment 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 Quote Link to comment 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! Quote Link to comment 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. Quote Link to comment 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 Quote Link to comment 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. Quote Link to comment 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 Quote Link to comment 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. Quote Link to comment 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. !!! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.