IndianWebPortal.com

Something Different In Linux

Home » Error and solution » Request Entity Too Large

Request Entity Too Large

Posted by Rishikesh Vispute Categories: Error and solution

Error :

Request Entity Too Large
The requested resource
/send.php
does not allow request data with POST requests, or the amount of data provided in the request exceeds the capacity limit. 01
3006

Solution :
This error due the variables_order used on the server. The default variables_order used on the cpanel server is “EGPCS”. If you want to use the POST requests then you need to set it to “POST”

To solve this error open the php.ini file and search variables_order

variables_order = “EGPCS”

Replace it to

variables_order = “POST”

Done

3 Responses so far.

  1. Sammy says:

    The HTTP server may add further restrictions on the file upload size:

    Apache: You can restrict maximum file size using [LimitRequestBody] directive. Search for /etc/httpd/conf.d/php.conf and comment out LimitRequestBody. Restart Apache after editing the configuration and you will be able to attach file with sizes over 0,5 MB again.

    e.g:

    SetOutputFilter PHP
    SetInputFilter PHP
    # LimitRequestBody 524288

  2. Thanks for the best comments

  3. Thanks for some quality points there. I am kind of new to online , so I printed this off to put in my file, any better way to go about keeping track of it then printing?


Popular Posts

remove index.php fro

How to remove index.php from url in magento Ans : If you ...

PHP-Java bridge on p

  What is php-java bridge? The php-java bridge is the php ...

Set expiration for y

If you want to set the expiration to your site ...

Warning: Parameter 1

Error: Warning: Parameter 1 to modMainMenuHelper::buildXML() expected to be a ...

domain pointing to e

If you domain uses external MX record and it is ...