ASPN ActiveState Programmer Network
ActiveState
/ Home / Perl / PHP / Python / Tcl / XSLT /
/ Safari / My ASPN /
Cookbooks | Documentation | Mailing Lists | Modules | News Feeds | Products | User Groups


Recent Messages
List Archives
About the List
List Leaders
Subscription Options

View Subscriptions
Help

View by Topic
ActiveState
.NET Framework
Open Source
Perl
PHP
Python
Tcl
Web Services
XML & XSLT

View by Category
Database
General
SOAP
System Administration
Tools
User Interfaces
Web Programming
XML Programming


MyASPN >> Mail Archive >> php-dev
php-dev
#44941 [Fbk->Opn]: Post data size limited to 60k even when post_max_size = 20M
by Enadyo At Hotmail Dot Com other posts by this author
May 26 2008 3:33PM messages near this date
#44941 [Opn->Fbk]: Post data size limited to 60k even when post_max_size = 20M | #44941 [Opn->Fbk]: Post data size limited to 60k even when post_max_size = 20M
ID:               44941
 User updated by:  enadyo at hotmail dot com
 Reported By:      enadyo at hotmail dot com
-Status:           Feedback
+Status:           Open
 Bug Type:         *General Issues
 Operating System: CENTOS
 PHP Version:      5.2CVS-2008-05-08 (CVS)
 Assigned To:      fb-req-jani
 New Comment:

phpinfo:
http://www.alfavita.gr/myphp.php 

testing page:
http://www.alfavita.gr/errata.php

In the new compile I've lowered limits to 8M in case it would do any
good (it didn't).


Previous Comments:
------------------------------------------------------------------------

[2008-05-26 20:27:22] jani@[...].net

Please don't add full phpinfo() output here but rather a link to a
place where the info can be seen.

------------------------------------------------------------------------

[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@[...].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@[...].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
Thread:
Enadyo At Hotmail Dot Com
jani
Enadyo At Hotmail Dot Com
jani
Enadyo At Hotmail Dot Com
jani
Enadyo At Hotmail Dot Com
jani
jani
Enadyo At Hotmail Dot Com
jani
Enadyo At Hotmail Dot Com
jani
Enadyo At Hotmail Dot Com
jani
jani

Privacy Policy | Email Opt-out | Feedback | Syndication
© 2004 ActiveState, a division of Sophos All rights reserved