update.php
update.php
Administrative page for handling updates from one Drupal version to another.
Point your browser to "http://www.example.com/update.php" and follow the instructions.
If you are not logged in using either the site maintenance account or an account with the "Administer software updates" permission, you will need to modify the access check statement inside your settings.php file. After finishing the upgrade, be sure to open settings.php again, and change it back to its original state!
File
update.phpFunctions
Name | Description |
---|---|
update_access_allowed | Determines if the current user is allowed to run update.php. |
update_access_denied_page | Renders a 403 access denied page for update.php. |
update_check_requirements | Checks update requirements and reports errors and (optionally) warnings. |
update_extra_requirements | Returns and stores extra requirements that apply during the update process. |
update_helpful_links | Provides links to the homepage and administration pages. |
update_info_page | Provides an overview of the Drupal database update. |
update_results_page | Displays results of the update script with any accompanying errors. |
update_script_selection_form | Form constructor for the list of available database module updates. |
update_selection_page | Renders a form with a list of available database updates. |
update_task_list | Adds the update task list to the current page. |
Constants
Name | Description |
---|---|
DRUPAL_ROOT | Defines the root directory of the Drupal installation. |
MAINTENANCE_MODE | Global flag indicating that update.php is being run. |
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/update.php/7.x