How To Increase Maximum Upload File Size for WordPress

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:

  1. Open FileZilla and connect to your server;
  2. The directory you need to find is normally located inside the public_html folder;
  3. 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 note that their maximum upload size is 50MB. You should read their server specific guide depending on if you use their shared Linux (cPanel hosting) or Windows (Plesk hosting) servers.