[WordPress] 外掛分享: Memory Limit Manager

首頁外掛目錄 › Memory Limit Manager
WordPress 外掛 Memory Limit Manager 的封面圖片
200+
安裝啟用
尚無評分
83 天前
最後更新
問題解決
WordPress 6.0+ PHP 7.4+ v1.0.1 上架:2026-01-14

內容簡介

總結:Memory Limit Manager 是一個讓您能夠不需手動編輯 wp-config.php 即可輕鬆配置您的記憶體限制的外掛。透過美觀、用戶友好的介面和強大功能,您可以輕鬆地透過一個按鈕點擊來增加記憶體限制。

問題與答案:
1. 這個外掛的主要功能是什麼?
答:這個外掛的主要功能是允許您配置兩個 WordPress 記憶體限制常數:WP_MEMORY_LIMIT 控制前端可用的記憶體(預設為 40M)和 WP_MAX_MEMORY_LIMIT 控制管理區域可用的記憶體(預設為 256M)。透過增加這些值,可以幫助解決「記憶體耗盡」錯誤、外掛/佈景啟動失敗、圖片上傳問題、管理員區域性能緩慢等問題。

2. 這個外掛有哪些關鍵特點?
答:這個外掛的關鍵特點包括:
- 一鍵更新:只需單擊按鈕即可更改記憶體限制
- 快速預設值:常見的配置(128M/256M、256M/512M、512M/1G、1G/2G)
- 自動備份 wp-config.php:在進行任何更改之前會創建 wp-config.php 檔案的有時間戳的備份,保留最近的 5 個備份,並在失敗時自動還原
- 衝突檢測:識別是否在其他位置定義了記憶體限制
- 系統診斷:文件權限和可寫性檢查
- 手動回退:如果自動更新失敗,可以複製粘貼代碼
- Opcode Cache 清除:更改後立即生效
- 美觀的用戶界面:現代、基於卡片的佈局,具有實時驗證功能。

外掛標籤

開發者團隊

⬇ 下載最新版 (v1.0.1) 或搜尋安裝

① 下載 ZIP → 後台「外掛 › 安裝外掛 › 上傳外掛」
② 後台搜尋「Memory Limit Manager」→ 直接安裝(推薦)
📦 歷史版本下載

原文外掛簡介

Memory Limit Manager makes it incredibly easy to configure your memory limits without manually editing wp-config.php. With a beautiful, user-friendly interface and powerful features, you can increase memory limits with a single click.
Key Features

One-Click Updates – Change memory limits with a single button click
Quick Presets – Common configurations (128M/256M, 256M/512M, 512M/1G, 1G/2G)
Automatic wp-config.php Backups – Creates timestamped backups of your wp-config.php file before any changes (format: wp-config.php.backup-YYYY-MM-DD-HHMMSS). Keeps 5 most recent backups and auto-restores on failure
Conflict Detection – Identifies if memory limits are defined elsewhere
System Diagnostics – File permissions and writability checks
Manual Fallback – Copy-paste code if automatic updates don’t work
Opcode Cache Clearing – Immediate effect after changes
Beautiful UI – Modern, card-based layout with real-time validation

Why Use This Plugin?
Manually editing wp-config.php can be:
– Intimidating for non-technical users
– Error-prone (syntax errors can break your site)
– Difficult to verify if changes took effect
Memory Limit Manager solves all these problems with a safe, user-friendly interface that handles everything automatically.
What It Does
This plugin allows you to configure two WordPress memory limit constants:
1. WP_MEMORY_LIMIT – Controls memory available on the frontend (default: 40M)
2. WP_MAX_MEMORY_LIMIT – Controls memory available in admin area (default: 256M)
Increasing these values can help resolve:
– “Memory exhausted” errors
– Plugin/theme activation failures
– Image upload problems
– Slow admin performance
Automatic Backup System
For your safety, the plugin automatically backs up your wp-config.php file before making any changes:

Backup File Format: wp-config.php.backup-2026-01-15-223045 (timestamped)
Location: Same directory as your wp-config.php file
Number of Backups: Keeps the 5 most recent backups, auto-deletes older ones
Automatic Restore: If any error occurs during update, your original wp-config.php is automatically restored
Manual Restore: You can manually restore any backup file via FTP/cPanel if needed

This means you can update memory limits with confidence, knowing your configuration is always protected.
Security

Nonce verification for CSRF protection
Capability checks (administrator-only access)
Input sanitization and validation
Secure file operations with error recovery

Documentation
Documentation is available here: https://muhammadshakeel.com/memory-limit-manager-documentation/
Support
For support, please visit: https://wordpress.org/support/plugin/memory-limit-manager/
Developer
Memory Limit Manager is developed and maintained by Muhammad Shakeel.
Website: https://muhammadshakeel.com/

延伸相關外掛

文章
Filter
Apply Filters
Mastodon