The Community Forums

Interact with an entire community of cPanel & WHM users!
  1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Problems with POST size

Discussion in 'EasyApache' started by Saithen, May 7, 2013.

  1. Saithen

    Saithen Registered

    Joined:
    May 7, 2013
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Hello.

    Just wanted to ask if anyone here had a problem like the one we're having in our server now. The thing is, when we send large volumes of data through POST (in a php form for example) some problem happens and the data isn't sent.

    We have this form, that have something around 200 input texts . We can't send these 200 fields at once because of this problem but,for example, if we try to send only 50 fields everything works out just fine. So, our first guess was that the server limited this POST somehow, but we checked in the config files and the parameter that control this is set on 'unlimited'.

    Also, we have a pagination in one of our systems that only work if the number of pages is low. Too many pages cause the php code to stop working properly. Again, i believe this is somehow connected to the POST size problem.

    So, anyone knows some other cause to this? Or had this problem and know a solution or workaround?

    Thanks.
     
    #1 Saithen, May 7, 2013
    Last edited: May 7, 2013
  2. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,468
    Likes Received:
    196
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    Which config files do you speak of here?
     
  3. Saithen

    Saithen Registered

    Joined:
    May 7, 2013
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Apache's httpd.conf
     
  4. Veeble-Adam

    Veeble-Adam Active Member

    Joined:
    May 7, 2013
    Messages:
    43
    Likes Received:
    0
    Trophy Points:
    6
    cPanel Access Level:
    Root Administrator
    You may need to increase the following variables to sufficiently high values in the php.ini [/usr/local/lib/php.ini]

    post_max_size
    upload_max_filesize

    A detailed check of the log files should give a better insight.
     
  5. Saithen

    Saithen Registered

    Joined:
    May 7, 2013
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    If i'm not mistaken these two parameters are already set to high values.

    At any rate, i'll post the logs here as soon as possible.

    Thanks for all your help.
     
  6. Infopro

    Infopro cPanel Sr. Product Evangelist
    Staff Member

    Joined:
    May 20, 2003
    Messages:
    14,468
    Likes Received:
    196
    Trophy Points:
    63
    Location:
    Pennsylvania
    cPanel Access Level:
    Root Administrator
    Twitter:
    You can check/change those values here:
    WHM » Service Configuration » PHP Configuration Editor
     
  7. Saithen

    Saithen Registered

    Joined:
    May 7, 2013
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    cPanel Access Level:
    Root Administrator
    Where can i find these logs? I'm kinda new to CPanel.

    I've checked the parameters(max post size,memory size,file upload), they where set to really high values and the problem continued. And, like before, everything works just fine if the page have little amounts of data to display or submit. I.E if the pagination only shows a small amount of results. One of our pages has a pagination for 16k results, wich causes the problem to appear. Another one, with something around 5k, works just fine.
     
    #7 Saithen, May 8, 2013
    Last edited: May 8, 2013
Loading...

Share This Page