I am working on a project that downloads large zip files from server, for small files the script works well and downlaod files successfully, but for larger files like currently we are trying to download a 922MB file it gives us this message (in firefox) and doesn't download any thing.

File not found

Firefox can't find the file at http://www.domainname.com/abc.zip

Script to download the file is as below:

$filename = "xyz.mp3;

header("Pragma: public");
header("Expires: 0");
header("Cache-Control: must-revalidate, post-check=0, pre-check=0");

header("Content-Type: application/force-download");
header("Content-Type: application/octet-stream");
header("Content-Type: application/download");

header("Content-Disposition: attachment; filename=".basename($filename).";");

header("Content-Transfer-Encoding: binary");
header("Content-Length: ".filesize($filename));

if( !ini_get('safe_mode') )


Please advise what can be issue, if its file size issue then how and where can we increase the limit to solve this issue.