PHP upload limits

Every now and then I need to re-set the PHP upload limits in the PHP ini file.

The obvious setting is

upload_max_filesize = 1024M

The less obvious settings are:

file_uploads = On

I’ve found it easy to forget to change post_max_size which need to be the same or greater than the upload_max_filesize.