0

Case

Download zipped bulk documents

State

Php info return this:

    PHP Version => 5.5.16

    ZIP-based phar archives => enabled
    gzip compression => enabled
    bzip2 compression => disabled (install pecl/bz2)
    Native OpenSSL support => enabled

What's happening

This line :

$zip = new ZipArchive(); // is giving the error of Class 'ZipArchive' not found 

And this one :

extension_loaded('zip')  //is giving null 

Question

Is there a library Which should be included in the code like require_once(library) ? What is going wrong ? Thanks !

Tensibai
  • 15,557
  • 1
  • 37
  • 57
sisimh
  • 1,287
  • 3
  • 20
  • 37

0 Answers0