Please whitelist cPanel in your adblocker so that you’re able to see our version release promotions, thanks!

The Community Forums

Interact with an entire community of cPanel & WHM users!

FastCGI upload error

Discussion in 'Workarounds and Optimization' started by zerpex, Oct 29, 2011.

  1. zerpex

    zerpex Member

    Oct 17, 2011
    Likes Received:
    Trophy Points:
    cPanel Access Level:
    Root Administrator
    Hello everyone,

    Today I was facing a big problem, for weeks ago I switched from suPHP to FastCGI, for first time, I should upload an image via image uploader on my website, but got an error 500, checked the error_log in the usr/local/cpanel/logs folder.. Didn't show anything, then I tried the 'real' error_log got the error, that I exceeded the limit for image upload, default in fastcgi was 128kb in upload..

    I changed it, with adding FcgidMaxRequestLen 20971520 which is 20mb, and it did work perfectly.

    I'm wondering why that limit doesn't get changed when I change the max_file_upload_size in php.ini? And is there a way in cpanel to set FcgidMaxRequestLen for fastcgi? Because when apache gets an update, my own config will be overwritten.

    Best regards,
    Lucas Rolff

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice