upload_max_filesize exceeded in php.ini

I can never find this setting. Everytime I create a wordpress development server I end up having trouble finding it.

There use to be a setting in WordPress itself, and if that is there, you’ll have to update that.

I use Apache and PHP on a linux server which I usually administer via virtualmin/webmin (highly recommended). But it can often take me a moment or two to find exactly where I need to be for some features.

Maximum file upload size is one of those and the setting lies as follows:

Go to virtualmin and select the virtual server you wish to edit.

Scroll down to Services and select PHP Configuration and then Resource Limits and change as appropriate.

Save and you’re done! There is no need to reload anything.

You could choose to edit the setting directly in php.ini located in /etc/php/x.x/apache2.

Join the Conversation

1 Comment

Leave a comment