Unable to upload files larger than 2MB - PHP

Akash Tiwari

Registered
Aug 22, 2017
1
0
0
Jammu
cPanel Access Level
Website Owner
From my android App i m trying to make a HHTP request to upload a picture of size>2MB.I m getting "413" in response.
My settings for PHP 5.6 are

allow_url_fopen On
display_errors Off
error_reporting E_ALL
file_uploads On
include_path .:/opt/alt/php56/usr/share/pear:/opt/alt/php56/usr/share/php
log_errors On
mail.force_extra_parameters no value
max_execution_time 300
max_input_time 300
memory_limit 64M
open_basedir no value
post_max_size 128M
session.save_path /tmp
short_open_tag On
upload_max_filesize 128M

Plz help me....
 
Last edited by a moderator:

cPanelMichael

Administrator
Staff member
Apr 11, 2011
47,910
2,216
363
Hello,

Do you notice any specific error messages in "cPanel >> Errors" when you encounter this error message in your browser? Also, do you have root access to this server?

Thank you.