Main Menu
Sub Menu

Getting upload_max_filesize directive in php.ini error when uploading Download Manager Pro. What should I do?

The "upload_max_filesize directive" error occurs when your Download Manager Pro file is larger than your server's upload limit. Here are several solutions to resolve this issue:

Quick Solutions

Contact Your Hosting Provider
The easiest approach is to contact your hosting company's support team. Most providers can increase the upload limit within minutes - it's a routine request for them. Many offer live chat support that can handle this immediately.

Use Your Hosting Control Panel
Check if your hosting provider offers PHP settings management through cPanel or another control panel interface. Look for PHP configuration options where you can adjust the upload limits directly.

Alternative Upload Methods

If increasing server limits isn't immediately possible, try these workarounds:

  • FTP/SFTP Upload: Upload the plugin file directly to your /wp-content/plugins/ directory using an FTP client
  • File Manager: Use your hosting control panel's file manager to upload the plugin
  • Extract and Upload: Unzip the plugin locally and upload the individual files rather than the complete zip file

Technical Solutions

If you have server access, you can modify these settings yourself:

Method 1: Theme Functions File
Add this code to your theme's functions.php file:

@ini_set( 'upload_max_size' , '128M' ); 
@ini_set( 'post_max_size', '130M'); 
@ini_set( 'max_execution_time', '300' );

Method 2: Create/Edit php.ini
Create or edit a php.ini file in your root directory with:

upload_max_filesize = 128M 
post_max_size = 130M 
max_execution_time = 300

Method 3: .htaccess Method
Add these lines to your .htaccess file:

php_value upload_max_filesize 128M 
php_value post_max_size 130M 
php_value memory_limit 135M

WordPress Download Manager Specific Tip

If you're using WordPress Download Manager specifically, you can enable "Chunk Upload" in the WPDM settings page. This feature can bypass server upload limits entirely, making it an excellent solution for recurring upload issues.

✅ Verification: To verify if your changes worked, go to Downloads → Add New in your WordPress admin. You should see the new upload limit displayed (e.g., "Max: 128 MB").

💡 Recommendation: The hosting provider contact method is usually the most reliable solution, especially if you're not comfortable with server configurations.

Last updated on Sep 22, 2025

Need More Clarification?

For any technical issue, if you are already using pro version please post in pro forum and free version users please post in free forum. Otherwise, if you have any pre-sale or order related query please contact live chat support team. For technical support.

Need Customization?

If you need additional customization on WordPress Download Manager or any type of custom support on WordPress you may contact our customization service.