note that ini_set("upload_max_filesize", "9M"); ini_set("post_max_size", "9M"); ini_set("max_execution_time", "100"); ini_set("max_input_time", "100"); will have no effect as the file has to be transferred before execution of PHP begins. php.net/upload-max-filesize you can use phpinfo(); will help you understand what is the bottleneck. Kranthi. http://goo.gl/e6t3