Det här tillägget har inte testats med någon av de 3 senaste huvudversionerna av WordPress. Det kanske inte längre underhålls och kan ha kompatibilitetsproblem när det används tillsammans med nyare versioner av WordPress.

Display PHP Version

Beskrivning

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.

Skärmdumpar

  • 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!

Installation

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.

Recensioner

25 september 2022
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?
22 juni 2021
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
4 juni 2021
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.
8 maj 2021
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.
Läs alla 35 betyg

Bidragsgivare och utvecklare

”Display PHP Version” är programvara med öppen källkod. Följande personer har bidragit till detta tillägg.

Bidragande personer

Översätt ”Display PHP Version” till ditt språk.

Intresserad av programutveckling?

Läs programkoden, kika på SVN-filförvaret eller prenumerera på utvecklarloggen via RSS.

Ändringslogg

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!