[WordPress] 外掛分享: Memory Limit Manager

WordPress 外掛 Memory Limit Manager 的封面圖片。

前言介紹

  • 這款 WordPress 外掛「Memory Limit Manager」是 2026-01-14 上架。
  • 目前有 60 個安裝啟用數。
  • 上一次更新是 2026-01-19,距離現在已有 37 天。
  • 外掛最低要求 WordPress 6.0 以上版本才可以安裝。
  • 外掛要求網站主機運作至少需要 PHP 版本 7.4 以上。
  • 尚未有人給過這款外掛評分。
  • 還沒有人在論壇上發問,可能目前使用數不多,還沒有什麼大問題。

外掛協作開發者

shak33l |

外掛標籤

memory | wp-config | performance | memory limit | optimization |

內容簡介

總結: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 清除:更改後立即生效
- 美觀的用戶界面:現代、基於卡片的佈局,具有實時驗證功能。

原文外掛簡介

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/

各版本下載點

  • 方法一:點下方版本號的連結下載 ZIP 檔案後,登入網站後台左側選單「外掛」的「安裝外掛」,然後選擇上方的「上傳外掛」,把下載回去的 ZIP 外掛打包檔案上傳上去安裝與啟用。
  • 方法二:透過「安裝外掛」的畫面右方搜尋功能,搜尋外掛名稱「Memory Limit Manager」來進行安裝。

(建議使用方法二,確保安裝的版本符合當前運作的 WordPress 環境。


1.0.0 | 1.0.1 | trunk |

延伸相關外掛(你可能也想知道)

  • LiteSpeed Cache 》LiteSpeed Cache for WordPress(LSCWP)是一種全方位的網站加速外掛,包括獨家的伺服器層快取和一系列的優化功能。, LSCWP 支援 WordPress Multisite 及大多...。
  • Jetpack – WP Security, Backup, Speed, & Growth 》search engines, and grow your traffic with Jetpack. It’s the ultimate toolkit for WordPress professionals and beginners alike., , Customize and des...。
  • Image Optimizer – Optimize Images and Convert to WebP or AVIF 》外掛總結:, , - Image Optimizer 是一個易於使用的 WordPress 外掛,透過壓縮和調整大小的技術來減少圖像大小,同時保留最高的圖像品質。, - Image Optimize...。
  • WP Super Cache 》本外掛可以從您的動態 WordPress 部落格生成靜態 HTML 檔案。在產生 HTML 檔案後,您的網頁伺服器會傳送該檔案,而不是處理比較沉重、耗費更多資源的 WordPre...。
  • WP Fastest Cache – WordPress Cache Plugin 》han PNG or JPEG, which means faster downloads and less data consumption for your visitors, Database Cleanup – Detect and delete unnecessary d...。
  • ManageWP Worker 》, Want to clone or migrate your WordPress website to a new host or domain? No problem! With ManageWP, you can easily clone or migrate your website ...。
  • Speed Optimizer – The All-In-One Performance-Boosting Plugin 》SiteGround Optimizer 插件是由 SiteGround 開發的,可以大幅提高任何托管環境下的 WordPress 網站性能。, 最初設計用於 SiteGround 的服務器,現在已經有近 ...。
  • W3 Total Cache 》W3 Total Cache (W3TC) 透過整合內容傳遞網絡 (CDN) 和最新最佳實踐等功能,提高網站性能、減少加載時間,增進 SEO、核心 Web 主要指標和整體用戶體驗。W3TC ...。
  • Autoptimize 》Autoptimize 能夠輕鬆優化您的網站。它可以整合、縮小和快取腳本和樣式表,在默認情況下向頁面 head 中注入 CSS,但也可以內嵌關鍵 CSS 並延遲整合的完整 CSS...。
  • Breeze Cache 》Breeze是由Cloudways團隊開發的一款免費、簡單(卻功能強大)且使用者友好的WordPress快取外掛。它提供不同層級的WordPress效能優化選項,在WordPress、搭配W...。
  • AMP 》「Page Experience」(PX)是一組排名訊號,包括「核心網頁素質」(Core Web Vitals,CWV),用來測量使用者與網頁互動的使用體驗。AMP 是一個強大的工具,能...。
  • WebP Express 》ch means less bandwidth usage and faster page load times., Easy to use - with little effort, WordPress site admins can have their site serving auto...。
  • Redis Object Cache 》一個由 Redis 提供支援的持久化物件快取後端。支援 Predis、PhpRedis (PECL)、Relay、複寫、哨兵、叢集化和 WP-CLI。, 若要調整連線參數、前綴的快取鍵或設定...。
  • Custom Fonts – Host Your Fonts Locally 》此外掛能協助您輕鬆地在 WordPress 網站中嵌入自定義字型檔案 (woff2、woff、ttf、svg、eot、otf)。, 目前能與以下主題和外掛一起使用:, , Astra 主題, Beav...。
  • Query Monitor – The developer tools panel for WordPress 》ministrator user). This cookie can be set by defining QM_AUTH_KEY in your wp-config.php file., To learn more about how to use Query Monitor, please...。

文章
Filter
Mastodon