该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

PHP Peak Memory Checker

描述

This plugin checks PHP memory usage and sends an email to the administrator if the maximum memory usage exceeds the threshold.
This email will include the memory usage, $_SERVER, and $_REQUEST values.
When used in conjunction with the External Notification plugin, the email can be sent as a notification to Slack.

For developer

  1. The default value for the threshold is 32 MB, but can be set to any value. Please define WP10_MEMORY_ALERT_THRESHOLD in megabytes in wp-config.php file.
  2. The plugin has a filter hook called “cpmp_delete_things_list”. This hook can be used to delete any content from the information retrieved by $_REQUEST.

安装

  1. Upload the plugin package to the plugins directory.
  2. Activate the plugin through the \’Plugins\’ menu in WordPress.

评价

此插件暂无评价。

贡献者及开发者

“PHP Peak Memory Checker” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

「PHP Peak Memory Checker」插件已被翻译至 2 种本地化语言。 感谢所有译者为本插件所做的贡献。

将“PHP Peak Memory Checker”翻译成您的语言。

对开发感兴趣吗?

您可以浏览代码,查看SVN仓库,或通过RSS订阅开发日志

更新日志

1.0

  • first version.

1.0.1

  • fix code.