Cannot upload images larger than 1mb using $_POST


I’m using normal hosting (not VPS).

I’ve followed the steps to create a phprc file and put custom variables in there:

log_errors = 1
error_log = /home/osaahm/php.log
upload_max_filesize = 64M
post_max_size= 64M
max_execution_time = 500
max_input_time = 500
memory_limit = 128M

I am certain the above code works as my phpinfo() file shows allthe variables set as I want them to be. (phpinfo() file can be found at

However, whenever I use $_POST to try and upload images larger than 1mb, I recieve a 413 error. The largest file I’ve successfully uploaded in 716kb, though I don’t know any sizes of the failed ones.

All files are .jpg.

I’ve spent a long time trying to fix this, contacted support and done all sorts of things.

I don’t know what to do! :frowning: