It’s probably not enough to just change the php.ini file. After changing it, you may need to restart the server.
What started this is that I got the Maximum File Upload error, and I modified the php.ini file in my root directory. In my case I increased it to 32MB by adding the text upload_max_filesize = 32M
.
Then I restarted the server by using the control panel. I use GoDaddy, and the relevant links are:
https://community.godaddy.com/help/article/1409 on making the change to the file, and
https://community.godaddy.com/help/5647/why-isnt-my-phpini-file-taking-effect for restarting the server. There is a minor error in the instructions for Linux Shared Hosting, the instructions refer to the “Processes” icon, when in fact the name of the icon is “System Processes”. But that fixed my problem perfectly.