Hello,
Did you modify both post_max_size and upload_max_filesize value … we need to increase both to make that work. Please check the increase in time and size using echo phpinfo(); to verify if it is increased properly.
Hi Sakar,
My Domain host modified them first (there was an issue on their end) up to those values & then I have increased them further at their recommendation when I contacted them – to no avail.
Forgive me, I am not very familiar with website maintenance, having moved from Moonfruit, and particularly not with cPanel in general.
How would I use echo phpinfo(); to verify it has worked?
Update: I have increased the max execution time to 1200 seconds and still got the http error with a larger image (but smaller images are still fine).
If you know little PHP in the php file like index.php add the code echo phpinfo(); exit(); which will make you able to check if the file size has been increased or not by finding the value like post_max_size and upload_max_filesize. Only increasing the time is not enough you need to increase post_max_size and upload_max_filesize to upload larger image 🙂
Hi Sakar!
Many thanks for your help.
I have increased my post_max_size and upload_max_size settings in cPanel. Here is a link on Imgur of my settings:
A 4MB picture has been uploaded successfully but the error has occurred again with a 4.4MB picture.
My apologies as I am not familiar enough with PhP to attempt index.php > echo phpinfo(); exit();
Kind regards
Dan
According to this setting everything should be correct.
Though you increase in the cpanel it may not be increased in script you have been running .. please contact your host support for asking them the check if settings are being used by the php script or not.
Hi Sakar,
I upped the limits to the maximum values and apparently now…. everything is working fine!!
Perhaps it was my internet connection at work? I’m not sure. Whatever it is, the problem appears to have resolved itself.
Thank you for your help Sakar, it is appreciated.
Also – you have such a fascinating name I couldn’t help Googling it – your website looks great 🙂 Really cool that you’re doing all of this.
Kind regards
Dan
Thank you Dan. Please resolve the issue from the left sidebar which helps the volunteers like me to help others who need it 🙂