PHP Upload Limits on Shared Hosting

Your default PHP upload limit depends on the type of hosting account you have.

PHP upload limits on shared hosting

Your default PHP upload limit depends on the type of hosting account you have (What type of hosting account do I have?)

Type

Default upload limit

Max

Web Hosting (cPanel)

32MB

128MB

Windows Hosting (Plesk)

2MB

2GB

Managed WordPress 1.0

100MB

192MB

Managed WordPress 2.0

128MB

1024MB



The upload limit does not guarantee an upload will complete — only that it isn't rejected by the server. Uploads beneath the upload limit can still fail because of:

  • Upload speed, which can cause your PHP script or browser to time out.
  • Your account's resource availability, which can cause large files to fail.

Change your PHP upload limit

To change the limitation, edit or add the following values in your PHP initialization file (What filename does my PHP initialization file need to use?)

The following settings change your PHP upload limit, allowing you to upload files up to 50MB in size. Setting the PHP upload limit higher than the Max listed above will force the setting to use the default upload limit instead.

file_uploads = On
post_max_size = 50M
upload_max_filesize = 50M

More info

  • Change PHP upload limits for my Web Hosting (cPanel) account
  • What filename does my PHP initialization file need to use?
  • Increase the WordPress memory limit
  • Edit files in Windows Hosting

Need help? Find help in our knowledgebase or simply chat to us .

Wurk and its subsidiaries are registered services provider.