File Upload Size Limits and How to Increase Them Print

  • 0

Default upload limits and how to increase them:

Default Limits:

  • PHP: 2MB - 64MB (varies by plan)
  • ASP.NET: 4MB default
  • FTP: No limit (recommended for large files)

Increase PHP Limits:

Add to php.ini or .user.ini:

```

upload_max_filesize = 64M

post_max_size = 64M

max_execution_time = 300

```

Increase ASP.NET Limits:

Add to web.config:

```xml

```

WordPress:

Also add to wp-config.php:

```php

@ini_set(upload_max_size, 64M);

```

For very large files, use FTP instead of web upload.


Was this answer helpful?

« Back