Error Uploading images over 2m even with php.ini set to 15m

Drew Anderson Posted in Technical Support 7 years ago

Hi I cannot seem to be able to upload pictures over 2m. My php.ini is set to:

postmaxsize = 18M
uploadmaxfilesize = 15M
memory_limit = "256M"

Yet only when I down rate the picture from 4m to 2m will it upload. I have searched around the new for a solution but nothing concrete found.

Any help appreciated. Drew

Replies
German Michael Zülsdorff Replied 7 years ago

Have a look into https://www.opensource-socialnetwork.org/wiki/view/1974/how-to-increase-your-server039s-upload-file-size-limit

There are detailed instructions how to adjust the upload size.

Indonesian Arsalan Shah Replied 7 years ago

Try to create file called phptest.php and place <?php phpinfo(); ?> and then call the file like yourwebsite.com/phptest.php and check what is the size there.

Also make sure that in .htaccess there is post_max_size , you should try to change that