Results 1 to 10 of 11

Thread: Warning: POST Content-Length of 148037055 bytes exceeds the limit of bytes in Unknown

Hybrid View

Previous Post Previous Post   Next Post Next Post
  1. #1

    Red face Warning: POST Content-Length of 148037055 bytes exceeds the limit of bytes in Unknown

    hey all. ive been tring to figure out how to fix this, and i have had no such luck. if i upload a video (144MB ) i get an error at the top of the page :

    Warning: POST Content-Length of 148037055 bytes exceeds the limit of 83886080 bytes in Unknown on line 0

    i Have root access as this is a dedicated server. Any infor would be great

    using centos 5.3

  2. #2
    Join Date
    Sep 2007
    Posts
    906

    Default

    By default php only allow you to upload maximum of 8 MB file.

    You need to make settings as per

    YouTube Clone Server Requirements
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  3. #3

    Default

    ive followed this list to a Tee lol. could it be the default .htaccess file??

    my phpinfo:
    memory_limit 800mb
    post_max_size = 800M

    and so on,

    any help would be great on this

  4. #4
    Join Date
    Sep 2007
    Posts
    906

    Default

    Quote Originally Posted by alex288288 View Post
    my phpinfo:
    memory_limit 800mb
    post_max_size = 800M
    You got this from php info ? Can i see your site ?

    Only reason for this error is php.ini settings or server don't have free memory to handle the file upload.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  5. #5
    Join Date
    Sep 2007
    Posts
    906

  6. #6

    Default

    sure site is :

    600tubes.info/share/phpinfo.php]phpinfo()[/url]
    Last edited by alex288288; 08-25-2009 at 06:59 PM. Reason: removed http

  7. #7
    Join Date
    Sep 2007
    Posts
    906

    Default

    post_max_size 80M 80M
    This is the maximum size of file you can upload.

    upload_max_filesize must be less than post_max_size.

    To fix, make all settings as shown here
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  8. #8

    Default

    hmm. weird.. i just check /etc/php.ini and it says:

    ; Maximum size of POST data that PHP will accept.
    ; post_max_size = 800M
    ; post_max_size = __lx_post_max_size

    but yet its still says 80mb in my phpinfo

  9. #9
    Join Date
    Sep 2007
    Posts
    906

    Default

    Quote Originally Posted by alex288288 View Post
    ; Maximum size of POST data that PHP will accept.
    ; post_max_size = 800M
    ; post_max_size = __lx_post_max_size

    ";" at the start of the line means the lines are commented.

    There will be a uncommented entry some where below.

    run

    Code:
    grep post_max_size /etc/php.ini
    and post what you get.
    vShare Hosting, vShare Installation, Server Setup, Lighttpd streaming, vShare Templates
    [email protected]

  10. #10

    Default

    output:
    [root@208-93-XXX-XX ~]# grep post_max_size /etc/php.ini
    post_max_size = 800M
    post_max_size = __lx_post_max_size
    post_max_size = 800M
    post_max_size = 80M

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •