How can I know which version of Drupal is installed in my server?
相关问题
- Drupal 8: How do I customize a form widget to show
- drupal :: order complete hook and upgrade user per
- Change redirect in Drupal 7 for Password Recovery
- Adding attachment to Jira's api
- Understanding htaccess Filesmatch code
相关文章
- Render a Drupal node
- How to allow multiple blocks in a module of Drupal
- How can I redirect a Drupal user after they create
- Drupal 6: Getting custom fields into the database
- Drupal 7 retain file upload
- Drupal - Set 'user/%/edit/uprofile' to def
- Drupal Session User id for independent script
- Drupal - Replace the home page
Log into Drupal admin interface. Then go to "Administer -> Available Updates". And you'll be able to see what drupal version your are using.
or you can go to the file /modules/system/system.info and you will see something like version = "6.2"
Drupal 8 programmatically:
\DRUPAL::VERSION
Indeed, looking at any .info file on your Drupal instance in any theme or module folder (inside /sites/all) may be easiest/quickest for you as opposed to adding PHP code though both are quite easy.
If for any reason you don't have FTP/SSH access to your Drupal server, there are other ways like viewing page source in the browser (if you know what look for) or a simple browser pluggin such as 'Drupal for Firebug' or similar utlity:
https://addons.mozilla.org/en-US/firefox/addon/drupal-for-firebug/
Alternatively you can install Drupal version check plugin in your browser and click on the drupal icon in your navigation bar. This is the easiest way to check Drupal version.
Here is the link to the plugin - https://addons.mozilla.org/en-US/firefox/addon/drupal-version-check/
To easily check Drupal version, go to
www.yourwebsite.com/CHANGELOG.txt
CHANGELOG.txt
will show you the version and change log updates to the Drupal build version.Drupal 7 admin->modules->(see version of core module like block ) admin->reports->status->drupal version
Drupal 8 admin->reports->updates : see Drupal core