Jump to content

[SOLVED] Fatal error: Class 'ZipArchive' not found


efficacious

Recommended Posts

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

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

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)

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?

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!

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  

  • 7 months later...

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.  :P  !!!

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.