Apache error logs:
Premature end of script headers: php.exe
Searching... <--- about half page of this then:
PHP Fatal error: Maximum execution time of 300 seconds exceeded in c:\Program Files\Apache Group\Apache2\htdocs\dev\test.php on line 5
Here is the code that works (on the small zip files):
<?
$fp = fopen("doit.bat","w");
fwrite($fp,"c:" . chr(13) . chr(10));
fwrite($fp,"wzzip c:\\001_work\\$old_study_z C:\\mysql\\data\\test\\" . chr(13) . chr(10));
fwrite($fp,"exit" . chr(13) . chr(10));
fclose($fp);
$command="doit.bat";
exec($command);
echo "done.<BR><BR>";
//The following has the same result (and errors)
// $output = wzzip.exe c:\\001_work\\$old_study_z C:\\mysql\\data\\test\\;
// echo "<pre><i>$output</i></pre>";
?>