如何升级drupal模块?
就我而言,我正在升级memcache模块,虽然有一个如何升级drupal模块?,drupal,memcached,Drupal,Memcached,就我而言,我正在升级memcache模块,虽然有一个README.txt,但它似乎不可操作: 1. Install the memcached binaries on your server. See http://www.lullabot.com/articles/how_install_memcache_debian_etch 2. Install the PECL memcache extension for PHP. This must be version 2.2.1 or highe
README.txt
,但它似乎不可操作:
1. Install the memcached binaries on your server. See http://www.lullabot.com/articles/how_install_memcache_debian_etch
2. Install the PECL memcache extension for PHP. This must be version 2.2.1 or higher or you will experience errors.
3. Put your site into offline mode.
4. Download and install the memcache module.
5. If you have previously been running the memcache module, run update.php.
6. Apply the DRUPAL-5-x-cache-serialize.patch from the patches folder that
comes with the module. Version specific, so use DRUPAL-5-6-cache-serialize.patch
if you are running Drupal 5.6.
7. Start at least one instance of memcached on your server.
8. Edit settings.php to configure the servers, clusters and bins that memcache
is supposed to use.
9. Edit settings.php to include either memcache.inc or memcache.db.inc. For
example, $conf['cache_inc'] ='sites/all/modules/memcache/memcache.db.inc';
10. Bring your site back online.
尤其是step4
,这是否意味着只需解包模块并替换原始目录中的所有内容
我当前的memcache版本是5.x-1.9
,还有5.x-1.10
可用,但在admin/logs/updates
步骤4意味着您完全删除旧模块目录,然后才解压缩新模块代码。您不需要旧代码的任何残余。另外请注意