Hello,
I'm writing a script to create a zip archive. I get the error "Cannot instantiate non-existent class: ziparchive in test.php on line 51".
Lines 50, 51 and 52:
Code:
50: fclose($fh);
51: $zip = new ZipArchive;
52: $zipfile = getcwd() . "/" . $User . "-" . $date . "-" . $dirname . ".zip";
PHP was configured with "--with-zip" and it says Zip is enabled under phpinfo()'s Zip section.
What am I missing here?
Any help is appreciated. Thanks.
vxc