Increasing the maximum upload file size for WordPress requires you to access your website’s server files. Specifically your server’s php.ini file.
Changing your php.ini file to increase file upload sizes
To increase your maximum upload file size for WordPress, you must add the following code to your php.ini file.
upload_max_filesize = 512M post_max_size = 512M max_execution_time = 300
Finding your php.ini file
To find or create your php.ini file, you need to use an FTP to access your server. This file is normally located in the public_html folder.
If you’re using FileZilla to FTP into your server, you can use the following steps to find or create the php.ini file:
- Open FileZilla and connect to your server;
- The directory you need to find is normally located inside the public_html folder;
- Once accessed, if you can’t find a php.ini file; create it.
Note for GoDaddy hosted websites
If you’re using GoDaddy, you should read their specific server guide depending on if you use their shared Linux (cPanel hosting) or Windows (Plesk hosting) servers. As this will help determine what your server’s maximum file size may be.