Skip to main content
Call us
  • Support Auckland: 9:00am~2:00am Monday~Friday(09) 975-9407
  • Support Countrywide (landline only) 9:00am~2:00am Monday~Friday0800 441 995
Phone numbers and hours
Help Center

Explore our online help resources

Help

GoDaddy Help

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
Managed WordPress 100MB 192MB

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


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. Setting the PHP upload limit higher than the Max listed above will force the setting to use the default upload limit instead.

More info

Community Related

ajeancompton's Avatar
Increase max upload and max post size in php

4 Replies

Last posted about 2 years ago.

DWILL97's Avatar
Please Help with Upload limits to my website PHP.ini

3 Replies

Last posted over 2 years ago.

fred1122's Avatar
File Upload Limit is wrong

2 Replies

Last posted over 4 years ago.

daddy's Avatar
Php .user.ini usage limits

2 Replies

Last posted almost 4 years ago.

daddy's Avatar
Set a different php version on a specific directory.

4 Replies

Last posted about 3 years ago.

Don't see what you are looking for? Search the Community