Beskrivning
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
- 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.
- 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.
Installation
- Upload the plugin package to the plugins directory.
- Activate the plugin through the \’Plugins\’ menu in WordPress.
Recensioner
Detta tillägg har inga recensioner.
Bidragsgivare och utvecklare
”PHP Peak Memory Checker” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.
Bidragande personer”PHP Peak Memory Checker” har översatts till 2 språk. Tack till översättarna för deras bidrag.
Översätt ”PHP Peak Memory Checker” till ditt språk.
Intresserad av programutveckling?
Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.
Ändringslogg
1.0
- first version.
1.0.1
- fix code.