Saithen

Registered
May 7, 2013
4
0
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.
 
Last edited:

Veeble-Adam

Active Member
May 7, 2013
43
0
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.
 

Saithen

Registered
May 7, 2013
4
0
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.
 

Saithen

Registered
May 7, 2013
4
0
1
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.
Where can i find these logs? I'm kinda new to CPanel.

You can check/change those values here:
WHM » Service Configuration » PHP Configuration Editor
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.
 
Last edited: