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
You can also type:
drush status
in your project folder. It will print out something like this:Hope this helps!
For older versions you can find the details here: modules/system/system.module
One of my installs says:
define('VERSION', '5.6');
The really easy way is: go to your site, and into the Browser go to: view source.
Generally you can find:
Or just press: Ctrl/Cmd "F": And find the word Drupal.
You will find the Drupal version in the code without check anything in the admin.
This is defined as a global PHP variable in
/includes/bootstrap.inc
within D7. Example:define('VERSION', '7.14');
So use it like this...You can get this by logging in to admin. Go to Administer → Reports → Status Report.
This will let you know all your config information of the site including your Drupal version.
For Drupal7
Two ways you can find installed drupal version.for this you have to logged in as admin.
1.Go to Url 'admin/reports/status',on status report page it will show first drupal with its version.
2.Go to Url 'admin/modules',on finding core tab ,we can find drupal contributed modules with 'version'.
For Drupal8
Open drupal\core\lib\Drupal.php in your text editor
you will see something like this (from line 79 to line 84)