這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Display PHP Version

外掛說明

Very lightweight and simple plugin that displays the currently installed PHP/MySQL version in the “At a Glance” admin dashboard widget.

In the latest plugin version you can also view the current MySQL version when hovering over the PHP version text. We chose to implement it this way as you may not need to know the MySQL version as often as the PHP version, and it just adds unnecessary visual noise.

Just hover over the PHP version label to display the installed MySQL version.

Also, on some Windows based servers the returned MySQL version can be displayed with a 5.5.5- prefix which can be a little annoying, so this is removed for convenience.

Please rate this Plugin if you find it useful. It only takes a moment but it’s very much appreciated. 🙂

And here’s how you can help support our open source work. We couldn’t do this without you!

For more plugins see our WordPress plugin site.

螢幕擷圖

  • Display the currently installed PHP version in the “At a Glance” admin dashboard widget.
  • Hover over the PHP version text to display the current MySQL version too!

安裝方式

Instructions for installing the Display PHP Version Plugin.

  1. In your WordPress admin go to Plugins -> Add New.
  2. Enter “Display PHP Version” in the text box and click Search Plugins.
  3. In the list of Plugins click Install Now next to the Display PHP Version Plugin.
  4. Once installed click to activate.
  5. Go to your WordPress dashboard page and look next to your WordPress version to see what PHP version is running.

使用者評論

2022 年 9 月 25 日
This is such a waste of bytes I don’t know where to begin. create a file info.php containing <?php phpinfo(); and open it in your favorite browser. Seriously have you all gone plugin mad?
2021 年 6 月 22 日
In the section AT A GLANCE on the WP Dashboard, it shows PHP version and SQL version on hover: Server running PHP version: 8.0.3. MySQL version: 5.7.33 Would be nice if it could warning us to UPGRADE PHP version when necessary
2021 年 6 月 4 日
There isn’t much to this plugin, but it does exactly what it promises in a clean and simple way that doesn’t require any hunting.
2021 年 5 月 8 日
A very simple but vital plugin that provides much needed valuable information. This feature should be standard in WordPress and not have to be addressed by an add-on, as easily identifying your PHP and SQL version can be crucial to solving system conflicts.
閱讀全部 35 則使用者評論

參與者及開發者

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

參與者

將〈Display PHP Version〉外掛本地化為台灣繁體中文版

對開發相關資訊感興趣?

任何人均可瀏覽程式碼、查看 SVN 存放庫,或透過 RSS 訂閱開發記錄

變更記錄

1.7 – May 7, 2021

  • Fixed minor caching issue preventing PHP version displaying straight away (unless you did a hard browser refresh) when upgrading plugin from v1.5 to v1.6. This is fixed in v1.7.

1.6 – May 7, 2021

  • Tested plugin for WordPress 5.7.1.
  • Added donate link.
  • Plugin now also displays MySQL version too when hovering over the PHP version text.

1.5 – April 26, 2019

  • Tested plugin for WordPress 5.1.

1.4 update

  • Plugin meta information, and a link, updated.

1.3 update

  • Minor update for WordPress 4.7 compatibility, and some formatting changes.

1.2 update

  • Added more reliable way to output PHP version number.

1.1 update

  • Updated for WordPress 3.9.1.

1.0 update

  • Initial uploaded version!