By damiankloip on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.x
Issue links:
Description:
A rebuild.php script has been added to clear PHP storage before cache backend storage. For example, if code changes mean the currently dumped PHP container is no longer valid.
Usage
Method I
Enable the 'rebuild_access' setting ($settings['rebuild_access'] = TRUE) in settings.php and visit BASE_URL/rebuild.php.
Method II
- Run core/scripts/rebuild_token_calculator.sh to generate a query string to gain access to rebuild.php:
core/scripts/rebuild_token_calculator.shExample output from the script:
timestamp=1386684652&token=5q_26cw0qtP_mRQjm1MQCh_xme-lYtQ1dEEXBzze-o8 - Visit rebuild.php with the generated query string appended:
BASE_URL/rebuild.php?timestamp=1386684652&token=5q_26cw0qtP_mRQjm1MQCh_xme-lYtQ1dEEXBzze-o8
A new drupal_rebuild() function has been added to core/includes/utility.inc that can be used to invoke a rebuild.
Impacts:
Site builders, administrators, editors
Module developers
Themers