在我的情况下,我正在升级内存缓存模块,虽然有一个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
答案 0 :(得分:1)
步骤4意味着您完全删除旧模块目录,然后解压缩新模块代码。你不需要任何旧代码的遗留物。
答案 1 :(得分:1)
另请注意,