+91 962 7703 451

PHP upload limits on shared hosting

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
cPanel 32MB 128MB
Plesk 2MB 2GB
Web 32MB 128MB
Classic 32MB 64MB
Managed WordPress 100MB 192MB


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?).

file_uploads = On
post_max_size = 50M
upload_max_filesize = 50M

The above settings change your PHP upload limit, allowing you to upload files up to 50MB in size.

Maximum upload limits

The upload limit does not guarantee an upload will complete — only that it isn't rejected by the server.

Uploads beneath the limit can still fail because of:

Was this answer helpful?

Related Articles

What filename does my PHP initialization file need to use?

What filename does my PHP initialization file need to use? The file name your PHP...