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
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 http://thoughttt.com/media/phpinfo.php).
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!