Php Jquery Plupload大文件上载失败

Php Jquery Plupload大文件上载失败,php,jquery,Php,Jquery,我使用plupload和php clas调整大小 一切都进行得很顺利,但是当我上传大文件4000x2000 px,只有250kb时,上传失败了。resize类的最大宽度和高度有其on limeter,但它被设置为NULL,因此它不会检查它是否导致上载取消 我在AJAX处理程序中的代码如下所示 $foo = new Upload($_FILES['file']); if ($foo->uploaded) { $new_name = functions::get

我使用plupload和php clas调整大小

一切都进行得很顺利,但是当我上传大文件4000x2000 px,只有250kb时,上传失败了。resize类的最大宽度和高度有其on limeter,但它被设置为NULL,因此它不会检查它是否导致上载取消

我在AJAX处理程序中的代码如下所示

$foo = new Upload($_FILES['file']);
    if ($foo->uploaded)
    {
        $new_name = functions::getRandomString(16);

        $foo->file_new_name_body = 'b_' . $new_name;
        if ($foo->image_src_x > 800 or $foo->image_src_y > 600)
        {
        $foo->image_resize = true;
        $foo->image_ratio = true;
        $foo->image_y = 600;
        $foo->image_x = 800;
        }
        $foo->image_convert = 'png';
        $foo->Process($upload_path);
        if ($foo->processed)
        {
        //echo 'image renamed "foo" copied';
        }
        else
        {
        die('{"jsonrpc" : "2.0", "error" : {"code": 101, "message": "Chyba prejmenovani."}, "id" : "id"}');
        }
和jquery

$("#uploader").pluploadQueue({
    // General settings
    runtimes : 'html5,html4',
    url : '/core/ajax/ajax_upload.php',
    max_file_size : '10mb',
    chunk_size : '5mb',
    unique_names : true,
    /*
    resize : {width : 320, height : 240, quality : 90},
    */
    // Specify what files to browse for
    filters : [
    {
        title : "Image files", 
        extensions : "jpg,jpeg,gif,png"
    }]

    });
以及这个具体文件上传会话的JSON响应

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>500 Internal Server Error</title>
</head><body>
<h1>Internal Server Error</h1>
<p>The server encountered an internal error or
misconfiguration and was unable to complete
your request.</p>
<p>Please contact the server administrator,

500内部服务器错误
内部服务器错误
服务器遇到内部错误或错误
配置错误,无法完成
你的要求

请与服务器管理员联系,
PHP配置可能会限制文件大小,请查看Apache错误日志以查看确切的问题


您还可以使用
查看maxium上载文件大小我更改了此虚拟主机的10000000值,并重新启动了服务器。
这似乎是固定的。谢谢你帮我检查错误日志

请不要在您的帖子中为random
单词添加随机代码格式。这使得它们很难阅读。post_max_size 8M,upload_max_File size 10M。[Thu Dec 27 01:23:55 2012][warn][client 1111]mod_fcgid:HTTP请求长度134874(到目前为止)超过MaxRequestLen(131072),referer:[Thu Dec 27 01:23:55 2012][error][client 1111]文件不存在:dev www../error,你能在你的文件中的不同点上共享输出吗?使用
die()
语句进行调试,找出脚本文件失败的确切位置,这可能会有所帮助。