Title: WPTerm
Author: bruandet
Published: <strong>2017 年 4 月 6 日</strong>
Last modified: 2026 年 6 月 10 日

---

搜尋外掛

![](https://ps.w.org/wpterm/assets/banner-772x250.png?rev=1632060)

![](https://ps.w.org/wpterm/assets/icon-256x256.png?rev=1631724)

# WPTerm

 由 [bruandet](https://profiles.wordpress.org/bruandet/) 開發

[下載](https://downloads.wordpress.org/plugin/wpterm.1.3.zip)

 * [詳細資料](https://tw.wordpress.org/plugins/wpterm/#description)
 * [使用者評論](https://tw.wordpress.org/plugins/wpterm/#reviews)
 *  [安裝方式](https://tw.wordpress.org/plugins/wpterm/#installation)
 * [開發資訊](https://tw.wordpress.org/plugins/wpterm/#developers)

 [技術支援](https://wordpress.org/support/plugin/wpterm/)

## 外掛說明

#### 類似 xterm、能執行非互動式命令介面命令的外掛。

WPTerm is an xterm-like plugin. It can be used to run non-interactive shell commands
from the WordPress admin dashboard.

> Just like a terminal, WPTerm lets you do almost everything you want (e.g., changing
> file permissions, viewing network connections or current processes etc). That’s
> great, but if you aren’t familiar with Unix shell commands, you can also damage
> your blog. Therefore, each time you use WPTerm, please follow this rule of thumb:**
> if you don’t know what you’re doing, don’t do it!**

#### Compatibility

WPTerm is not compatible with Microsoft Windows; it works on Unix-like servers only.

Because it makes use of PHP program execution functions such as `exec` or `shell_exec`,
it may not be compatible with some shared hosts that have disabled these functions.
To make sure your server is compatible, follow these steps:

 * Download [this script](https://nintechnet.com/bruandet/wpterm-check.txt).
 * Rename it to “wpterm-check.php”.
 * Upload it inside your website root folder.
 * Go to http://YOUR WEBSITE/wpterm-check.php
 * Delete it afterwards.

#### Password Protection

You can (and probably should!) password protect the access to WPTerm. Consult the
contextual help, or type `help` at the terminal prompt to get more details about
how to enable this feature.

#### Features

 * Selectable PHP program execution function to run commands.
 * Custom fonts family, size and color.
 * Custom background color.
 * History and scrollback buffer.
 * Terminal bell (audible / visible).
 * Optional password protection.
 * Contextual help.
 * Multisite compatible (only accessible to the SuperAdmin).

#### Supported Languages

 * English
 * French

#### Requirements

 * WordPress 5.0+
 * PHP 7.0+
 * Unix-like OS (Linux, *BSD etc) only. WPTerm is **NOT** compatible with Microsoft
   Windows.

## 螢幕擷圖

[⌊Terminal (default colors and welcome message).⌉⌊Terminal (default colors and welcome
message).⌉[

Terminal (default colors and welcome message).

[⌊Terminal (custom colors and welcome message).⌉⌊Terminal (custom colors and welcome
message).⌉[

Terminal (custom colors and welcome message).

[⌊Terminal (custom colors and welcome message).⌉⌊Terminal (custom colors and welcome
message).⌉[

Terminal (custom colors and welcome message).

[⌊Password protection.⌉⌊Password protection.⌉[

Password protection.

[⌊Settings (fonts and colors).⌉⌊Settings (fonts and colors).⌉[

Settings (fonts and colors).

[⌊Settings (terminal).⌉⌊Settings (terminal).⌉[

Settings (terminal).

[⌊Contextual help.⌉⌊Contextual help.⌉[

Contextual help.

## 安裝方式

 1. Upload `wpterm` folder to the `/wp-content/plugins/` directory.
 2. Activate the plugin through the ‘Plugins’ page in WordPress.
 3. Plugin settings are located in the ‘Tools > WPTerm’ sub-menu.

## 常見問題集

### Is there any Microsoft Windows version ?

WPTerm works on Unix-like servers only.

## 使用者評論

![](https://secure.gravatar.com/avatar/d2bdcc545119370bdb9ad3a4b7e6cdf053a5683efe94bd9fcbf48f5a307b9b00?
s=60&d=retro&r=g)

### 󠀁[Very good Plugin](https://wordpress.org/support/topic/very-good-plugin-2639/)󠁿

 [Matteo](https://profiles.wordpress.org/matteodelta2020/) 2023 年 2 月 24 日

The plugin works fine Even if I change folder I can use it! really great

![](https://secure.gravatar.com/avatar/02a76d95b36cbc866cf2652b1a0739943346028e0564ba8735ed59744c41cfe7?
s=60&d=retro&r=g)

### 󠀁[Wonderful](https://wordpress.org/support/topic/wonderful-916/)󠁿

 [con](https://profiles.wordpress.org/conschneider/) 2022 年 2 月 28 日

Perfect for testing and debugging cURL. Thanks a lot!

![](https://secure.gravatar.com/avatar/7cfcfd64b267ef629b1e289b3cc428a46d76c6df23613d9c75277130ed9b0256?
s=60&d=retro&r=g)

### 󠀁[Just what I needed](https://wordpress.org/support/topic/just-what-i-needed-1066/)󠁿

 [George](https://profiles.wordpress.org/georgew751/) 2021 年 1 月 26 日

I recently returned to a Linux server with sftp-only access. I am use to having 
ssh access, which allows one to execute shell commands. I found that WPTerm allows
me to execute useful shell commands. For example, one can do: ps -u “user” -o user,
pid,start,etime,time,nice,vsz,rss,command | egrep ‘PID|php-fpm’ | sed ‘/grep/d’ 
to get a list of php-fpm processes (Of course, replace “user” with your user id).

![](https://secure.gravatar.com/avatar/ba3ac0ea6abc59491f417f08035a13616076e8c4c183586a4d2a3314573966bb?
s=60&d=retro&r=g)

### 󠀁[Fantastic tool](https://wordpress.org/support/topic/fantastic-tool-91/)󠁿

 [tajensen](https://profiles.wordpress.org/tajensen/) 2020 年 10 月 8 日

I was looking for a way to run WP-CLI commands within WP Admin. This is the perfect
tool to do just that!

![](https://secure.gravatar.com/avatar/6e1ef68186050ffbf31d8e70017f949225317e4fb0296087fcc08e53cfec13eb?
s=60&d=retro&r=g)

### 󠀁[Uma mão na roda](https://wordpress.org/support/topic/uma-mao-na-roda-2/)󠁿

 [mktdigitalap](https://profiles.wordpress.org/mktdigitalap/) 2020 年 4 月 1 日

Muito bom, ajuda muito na hora de fazer rotinas automáticas em hospedagens restritas.

![](https://secure.gravatar.com/avatar/3fc10aa67fb0e1b692a29eac08b4389cc2de9838f1d5be01435198be13883891?
s=60&d=retro&r=g)

### 󠀁[A very useful plugin](https://wordpress.org/support/topic/a-very-useful-plugin-44/)󠁿

 [ShortPixel](https://profiles.wordpress.org/shortpixel/) 2019 年 11 月 4 日

Thank you for creating and maintaining this plugin, we find it very useful when 
debugging issues on customers websites. Keep up the good work, Alex

 [ 閱讀全部 14 則使用者評論 ](https://wordpress.org/support/plugin/wpterm/reviews/)

## 參與者及開發者

以下人員參與了開源軟體〈WPTerm〉的開發相關工作。

參與者

 *   [ bruandet ](https://profiles.wordpress.org/bruandet/)

[將〈WPTerm〉外掛本地化為台灣繁體中文版](https://translate.wordpress.org/projects/wp-plugins/wpterm)

### 對開發相關資訊感興趣？

任何人均可[瀏覽程式碼](https://plugins.trac.wordpress.org/browser/wpterm/)、查看
[SVN 存放庫](https://plugins.svn.wordpress.org/wpterm/)，或透過 [RSS](https://plugins.trac.wordpress.org/log/wpterm/?limit=100&mode=stop_on_copy&format=rss)
訂閱[開發記錄](https://plugins.trac.wordpress.org/log/wpterm/)。

## 變更記錄

= 1.3

 * Many small fixes and improvements: useless/obsolete parts of code removed, terminal’s
   AJAX code improved, translation strings escaped, bugs fixed etc.
 * If `DISALLOW_FILE_MODS` is set on the blog, access to the terminal will be refused.
 * WPTerm requires now at least PHP 7.0 and WordPress 5.0.

#### 1.2

 * Communication between the terminal and the plugin will be base64-encoded to prevent
   security applications such as ModSecurity to block the AJAX request.
 * Fixed a PHP “Function _load_textdomain_just_in_time was called incorrectly” notice.
 * Ensure compatibility with WordPress 6.8

#### 1.1.9

 * Compatibility with WordPress 5.9.

#### 1.1.8

 * Fixed the “Your site could not complete a loopback request” error message in 
   Site Health due to the PHP session when WPTerm’s password protection was enabled.
 * On multisite installations the plugin is now accessible from the main site only.
   Since there’s just one physical WordPress install, there’s no need to use it 
   on other sites.

#### 1.1.7

 * Added right to left language support to the terminal (compatible wit Firefox,
   Chrome, Opera and Safari browsers).

#### 1.1.6

 * Fixed an issue where the PHP session required by WPTerm’s password protection
   was always started, even when a non-admin user visited the site.

#### 1.1.5

 * Added `popen` to the list of PHP functions that you can select to run commands(
   see “Settings > Terminal > Use the following PHP function for command execution”).

#### 1.1.4

 * WordPress 4.9 compatibility.

## 中繼資料

 *  版本 **1.3**
 *  最後更新 **2 週前**
 *  啟用安裝數 **3,000+**
 *  WordPress 版本需求 ** 5.0 或更新版本 **
 *  已測試相容的 WordPress 版本 **7.0**
 *  PHP 版本需求 ** 7.0 或更新版本 **
 *  語言
 * [English (US)](https://wordpress.org/plugins/wpterm/)
 * 標籤:
 * [bash](https://tw.wordpress.org/plugins/tags/bash/)[command](https://tw.wordpress.org/plugins/tags/command/)
   [shell](https://tw.wordpress.org/plugins/tags/shell/)[terminal](https://tw.wordpress.org/plugins/tags/terminal/)
   [xterm](https://tw.wordpress.org/plugins/tags/xterm/)
 *  [進階檢視](https://tw.wordpress.org/plugins/wpterm/advanced/)

## 評分

 5 星，滿分為 5 星

 *  [  14 個 5 星使用者評論     ](https://wordpress.org/support/plugin/wpterm/reviews/?filter=5)
 *  [  0 個 4 星使用者評論     ](https://wordpress.org/support/plugin/wpterm/reviews/?filter=4)
 *  [  0 個 3 星使用者評論     ](https://wordpress.org/support/plugin/wpterm/reviews/?filter=3)
 *  [  0 個 2 星使用者評論     ](https://wordpress.org/support/plugin/wpterm/reviews/?filter=2)
 *  [  0 個 1 星使用者評論     ](https://wordpress.org/support/plugin/wpterm/reviews/?filter=1)

[Your review](https://wordpress.org/support/plugin/wpterm/reviews/#new-post)

[查看全部使用者評論](https://wordpress.org/support/plugin/wpterm/reviews/)

## 參與者

 *   [ bruandet ](https://profiles.wordpress.org/bruandet/)

## 技術支援

使用者可在技術支援論壇提出意見反應或使用問題。

 [檢視技術支援論壇](https://wordpress.org/support/plugin/wpterm/)