PluginWordPress

Health CheckプラグインがWordPressサイトの運用保守に便利そう

コアのチケットを見ていて、便利そうなプラグインを見つけたのでテスト環境にいれてみました。 Health Checkプラグイン Health CheckプラグインはWordPressコミュニティのチームで開発されているプラ […]

広告ここから
広告ここまで

コアのチケットを見ていて、便利そうなプラグインを見つけたのでテスト環境にいれてみました。

Health Checkプラグイン


Health CheckプラグインはWordPressコミュニティのチームで開発されているプラグインです。

WordPressやPHP / MySQLの情報などを管理画面で見れるようになる、運用保守やデバッグに使えるプラグインです。

見れるもの

プラグインを有効化すると、[ダッシュボード]メニューに[Health Check]という項目が追加されます。

その中では
– Health Check
– PHP Information
– Debug Information
の3つが確認できるようになっています。

Health Check


[Health Check]ではOverview的に自分のWordPressサイトのステータスを確認できます。

コアやPHPのバージョンだけでなく、バックグラウンドアップデートが有効化されているかやHTTPS化されているかなども確認できます。

phpinfo

phpinfo()で確認できる情報も[PHP Information]タブから確認できます。

Debug Information

そしてサポートフォーラムの世話役をやっている身として一番嬉しいのがこの、[Debug Information]です。

ここではWordPressの各種設定やWP_HOMEWP_MAX_MEMORY_LIMITといったWordPressが使用する定数、プラグイン・テーマのバージョンなどが確認できます。

上部にTOC(目次)がありますので、見たい情報へのアクセスも簡単です。

Debug Informationはコピペ対応

さらにこれらの情報をフォーラムやGitHubのIssue、ホスティングサポートに報告しやすいように「コピー&ペースト」に対応しています。

Show copy and paste fieldというボタンをクリックすると、表示されている情報をMarkdown形式で出力してくれます。

コピペボタンが標準装備

さらにShow copy and paste field in Englishというボタンもあり、翻訳された後でも英語でレポーティングできるように配慮されています。

コピペ例

せっかくなので、テストした環境の情報を貼り付けてみます。

### WordPress ###

Version: 4.8.3
Language: en_US
Permalink structure: /%year%/%monthnum%/%day%/%postname%/
Is this site using HTTPS?: Yes
Can anyone register on this site?: No
Default comment status: open
Is this a multisite?: No
User Count: 1
Communication with WordPress.org: WordPress.org is reachable

### Drop-ins ###

db-error.php: Custom database error message.

### Active theme ###

Name: Twenty Seventeen
Version: 1.3
Author: the WordPress team
Author website: https://wordpress.org/
Parent theme: Not a child theme
Supported theme features: editor-style, automatic-feed-links, title-tag, post-thumbnails, menus, html5, post-formats, custom-logo, customize-selective-refresh-widgets, starter-content, custom-header, widgets

### Other themes (2) ###

Twenty Fifteen (twentyfifteen): version 1.8 by the WordPress team
Twenty Sixteen (twentysixteen): version 1.3 by the WordPress team

### Must Use Plugins (1) ###

EVA: version 1.0.0 by J2 Design Partnership

### Active Plugins (5) ###

Bogo: version 3.1.3 by Takayuki Miyoshi
Disqus Comment System: version 2.87 by Disqus <team@disqus.com>
Health Check: version 0.5.0 by The WordPress.org community
JP Markdown: version 3.9.6 by JP
VK All in One Expansion Unit: version 5.7.7 by Vektor,Inc.

### Inactive Plugins (3) ###

Akismet Anti-Spam: version 4.0 by Automattic
Hello Dolly: version 1.6 by Matt Mullenweg
WP-CFM: version 1.4.5 by Forum One

### Server ###

Server architecture: Linux 4.10.0-37-generic x86_64
PHP Version: 7.0.25 (Supports 64bit values)
PHP SAPI: fpm-fcgi
PHP max input variables: 1000
PHP time limit: 1200
PHP memory limit: 640M
Upload max filesize: 512M
PHP post max size: 518M
cURL Version: 7.55.0 OpenSSL/1.0.2k
SUHOSIN installed: No
Is the Imagick library available: No

### Database ###

Extension: mysqli
Server version: 5.6.10
Client version: mysqlnd 5.0.12-dev - 20150407 - $Id: b5c5906d452ec590732a93b051f3827e02749b83 $
Database prefix: wp_

### WordPress constants ###

ABSPATH: /var/www/html/web/wp/
WP_HOME: https://example.com
WP_SITEURL: https://example.com
WP_DEBUG: Enabled
WP_MAX_MEMORY_LIMIT: 640M
WP_DEBUG_DISPLAY: Enabled
WP_DEBUG_LOG: Disabled
SCRIPT_DEBUG: Enabled
WP_CACHE: Disabled
CONCATENATE_SCRIPTS: Undefined
COMPRESS_SCRIPTS: Undefined
COMPRESS_CSS: Undefined
WP_LOCAL_DEV: Undefined

### Filesystem permissions ###

The main WordPress directory: Writable
The wp-content directory: Writable
The uploads directory: Writable
The plugins directory: Writable
The themes directory: Writable
The Must Use Plugins directory: Writable

バグ報告やサポート対応の際にぜひ

なかなかユーザーに「これ調べて」と言いづらい値も含まれていたりしますので、WordPress周りで何かサポートをすることになった場合にはこれをインストールするように案内するとよいかもしれません。

ちなみにはじめに紹介したチケットの中でコアに統合するかどうかの議論も進んでいる様子ですので、いつかプラグインなしで使えるようになる・・・かもしれません。

ブックマークや限定記事(予定)など

WP Kyotoサポーター募集中

WordPressやフロントエンドアプリのホスティング、Algolia・AWSなどのサービス利用料を支援する「WP Kyotoサポーター」を募集しています。
月額または年額の有料プランを契約すると、ブックマーク機能などのサポーター限定機能がご利用いただけます。

14日間のトライアルも用意しておりますので、「このサイトよく見るな」という方はぜひご検討ください。

広告ここから
広告ここまで

Related Category posts