Linux 软件免费装
Banner图

MaxLimits - Increase Maximum Upload, Post & PHP Limits

开发者 dominopress
更新时间 2025年11月4日 02:11
PHP版本: 7.4 及以上
WordPress版本: 6.8
版权: GPL v2 or later
版权网址: 版权信息

标签

memory limit execution time php limits max upload size max_input_vars

下载

1.1.0 1.0.0

详情介绍:

Struggling with errors like "upload_max_filesize exceeded" or hitting PHP memory limits? MaxLimits provides a simple, user-friendly interface to increase common WordPress and PHP resource limits without needing to edit server files like php.ini or .htaccess. Take control of crucial PHP settings directly from your WordPress admin area. MaxLimits allows you to adjust:

安装:

  1. Upload the maxlimits-increase-maximum-limits folder to your /wp-content/plugins/ directory via FTP or WordPress admin ('Plugins' > 'Add New' > 'Upload Plugin').
  2. Activate the 'MaxLimits - Increase Maximum Upload, Post & PHP Limits' plugin through the 'Plugins' menu in WordPress.
  3. (Optional) When prompted after activation, choose whether to allow anonymous usage tracking to help improve the plugin.
  4. Navigate to Settings > MaxLimits in your WordPress admin dashboard.
  5. Select your desired limit values from the dropdowns or choose "Custom" and enter your preferred number.
  6. Click "Save Limits".
  7. Check the "Current Server Values" panel. If the values didn't change, check the "Enable Direct .htaccess Writing" box and click "Save Writing Method". Then, save your limits again by clicking "Save Limits". Check the "Current Server Values" panel again. You may need to refresh the page to see the new values. == Screenshots ==
  8. The main MaxLimits settings page: Clean interface with limit controls, contextual recommendations, and server status.
  9. The Direct .htaccess Writing feature: A separate card to manage the file-writing method,
  10. The Manual Code Generator tab: Provides manual .user.ini and .htaccess code.
  11. The Dashboard Widget: Shows current server limits for a quick at-a-glance view.

常见问题:

What are generally good values to set?

= I saved new values, but "Current Server Values" didn't change. Why? = This is common. It means your web hosting provider has locked these specific PHP settings at the server level, preventing the default ini_set() function from working. Solution:

  1. Go to Settings > MaxLimits.
  2. In the "Direct File Writing" card, check the box that says "Enable Direct .htaccess Writing (Experimental)".
  3. Click the "Save Writing Method" button.
  4. Now, set your desired limits in the "Limit Settings" card above.
  5. Click the "Save Limits" button. This should now work in one click.
  6. The plugin will write the rules to your .htaccess file. You should see a "Settings saved" notice and a blue notice saying ".htaccess file updated successfully."
  7. You must refresh the page to see the new values appear in the "Current Server Values" panel. This is normal for .htaccess changes. The plugin provides inline, context-aware recommendations. Generally:
  8. Memory Limit: 256MB is okay for basic sites, but 512MB or 1024MB is often better for sites using WooCommerce, page builders (Elementor, Divi, etc.), or many plugins.
  9. Upload/Post Size: 64MB or 128MB is usually sufficient unless you need to upload very large video files. Ensure post_max_size is equal to or greater than upload_max_filesize.
  10. Execution/Input Time: 300 or 600 seconds is often needed for tasks like large imports, exports, or backups that take longer to run.
  11. Max Input Vars: 3000 is a good baseline, but page builders or complex menus often require 5000 or more. = What data is collected if I allow usage tracking?

Is this plugin safe?

If you opt-in, the plugin sends anonymous, non-sensitive data one time: your site URL, admin email (used only for potential support context if needed, not stored long-term), site name, site language, WordPress version, plugin version, and the timestamp. No personal data, site content, or specific settings are ever collected. This helps us understand usage patterns (like WP versions) and prioritize improvements. Yes. It uses the standard WordPress Settings API and follows security best practices. The default method only attempts to modify PHP settings temporarily at runtime using ini_set(). The optional "Direct .htaccess Writing" feature is off by default and only uses the official insert_with_markers() WordPress function, which is the safest way to modify the file.

Changelog

1.1.0

  • New Feature: Added setting for max_input_vars.
  • New Feature: Added a Dashboard Widget.
  • New Feature: Added a .user.ini and .htaccess code generator.
  • New Feature: Implemented context-aware recommendations.

1.0.0

  • Initial public release of MaxLimits! Includes settings page, custom values, inline recommendations, server status display, and optional anonymous usage tracking.