The errors can help:
error_reporting(E_ALL);
ini_set('display_errors', '1');
Try:
$zip->addFile($path, basename($path));
You might also want the .zip
extension:
$filename = "practiceforms.zip";
Then after sending the proper headers you'll need this to send the file contents to the browser:
readfile($filename);