ZipArchive issue
Posted: Mon May 04, 2009 6:34 am
Hi everybody,
I hope someone can help me solving an issue that has been keeping me stuck in my work for days now.
Basically I keep getting this error
Fatal error: Class 'ZipArchive' not found.
although I included, seemingly successfully, the extension php_zip.dll.
This is what phpinfo() says:
Zip enabled
Extension Version $Id: php_zip.c,v 1.1.2.33 2007/05/19 22:25:11 pajoye Exp $
Zip version 2.0.0
Libzip version 0.7.1
zlib
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
Directive Local Value Master Value
zlib.output_compression On On
zlib.output_compression_level -1 -1
zlib.output_handler no value no value
What's really really weird is that get_declared_classes() doesn't return ZipArchive while from get_defined_functions() I get the zip related functions(zip_open, zip_close ecc.). I'm not an expert but I think ZipArchive class and zip_open function come from the same dll. Am I wrong?
I'm developing on a virtual machine mounting Windows Server 2003, II6 v.6.0 e PHP v. 5.2.9.
Unfortunately I cannot use another library for zip file management cause ZipArchive class is required by ExcelPHP library, and I really need to use it
Ideas anyone? I really don't know what to try next!
Thanks a lot for your help.
I hope someone can help me solving an issue that has been keeping me stuck in my work for days now.
Basically I keep getting this error
Fatal error: Class 'ZipArchive' not found.
although I included, seemingly successfully, the extension php_zip.dll.
This is what phpinfo() says:
Zip enabled
Extension Version $Id: php_zip.c,v 1.1.2.33 2007/05/19 22:25:11 pajoye Exp $
Zip version 2.0.0
Libzip version 0.7.1
zlib
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
Directive Local Value Master Value
zlib.output_compression On On
zlib.output_compression_level -1 -1
zlib.output_handler no value no value
What's really really weird is that get_declared_classes() doesn't return ZipArchive while from get_defined_functions() I get the zip related functions(zip_open, zip_close ecc.). I'm not an expert but I think ZipArchive class and zip_open function come from the same dll. Am I wrong?
I'm developing on a virtual machine mounting Windows Server 2003, II6 v.6.0 e PHP v. 5.2.9.
Unfortunately I cannot use another library for zip file management cause ZipArchive class is required by ExcelPHP library, and I really need to use it
Ideas anyone? I really don't know what to try next!
Thanks a lot for your help.