#44941 [Opn->Fbk]: Post data size limited to 60k even when post_max_size = 20M

From: Date: Mon, 26 May 2008 20:27:23 +0000
Subject: #44941 [Opn->Fbk]: Post data size limited to 60k even when post_max_size = 20M
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-125278@lists.php.net to get a copy of this message
ID: 44941 Updated by: jani@php.net Reported By: enadyo at hotmail dot com -Status: Open +Status: Feedback Bug Type: *General Issues Operating System: CENTOS PHP Version: 5.2CVS-2008-05-08 (CVS) Assigned To: fb-req-jani New Comment: Please don't add full phpinfo() output here but rather a link to a place where the info can be seen. Previous Comments: ------------------------------------------------------------------------ [2008-05-25 21:39:07] enadyo at hotmail dot com I apologize for the delay, I was abroad. I've recompiled Apache. It's 2.2.8 now but it has the same problem. I've also tried to downgrade PHP (to 5.2.3) but nothing... Everything happens under CPANEL and WHM cpeasyApache so I don't understand "What Apache MPM are you using? What PHP SAPI?" questions. Php.ini is altered only to increase maximum size of uploaded file etc. but not by hand. There are some checkboxes and textboxes in cpanel's WHM. .htacces is not altered. I'm just recompiling (I try to find the common elements which may point out the problem). When finished I'll copy/paste the phpinfo() ------------------------------------------------------------------------ [2008-05-10 23:06:25] jani@php.net Couple of questions: What was the configure line used to configure PHP? What Aapche MPM are you using? What PHP SAPI? Do you set any php.ini options in some .htaccess file or in your httpd.conf? Check the phpinfo() output ------------------------------------------------------------------------ [2008-05-08 10:54:02] jani@php.net Jani: IIRC there was some Apache configuration thing that might interfere with this. (Note: This is reminder for myself, ignore :) ------------------------------------------------------------------------ [2008-05-08 05:27:49] enadyo at hotmail dot com Description: ------------ OS: CENTOS, PHP 5.2, APACHE 2.1 At PHP.INI memory_limit is set to 20M post_max_size is set to 20M the same goes for maximum upload however everything larger than 60K is cut off. in another server with PHP 4.x everything works perfect even with huge amounts of data Please tell me if you want to see PHP.INI for ...verification. I'll be glad to copy/paste it. Reproduce code: --------------- the code is simple: <form action=target.php method=post> <textarea name=a1></textarea> <button type=submit>send</button> and for the target.php <? $a1=$_REQUEST['a1']; echo $a1; ?> Expected result: ---------------- the text (larger than 60.000 characters) to be displayed on screen Actual result: -------------- blank screen (nope, not because of an error, but because the variable is null) ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=44941&edit=1

« previous php.bugs (#125278) next »