如何知道过时的drupal模块?
我有一个基于 drupal 的网站,其中启用的模块太多,我需要知道哪些模块有更新?
换句话说,我需要将所有模块更新到最新版本。
我如何获得所有过时模块的列表以及更新它们的最佳方法是什么?
我认为更新模块会有比下载最新版本到 /sites/all/modules 并运行 update.php
更好的选择 感谢您的帮助
I have a drupal based website with too many enabled modules, and i need to know what are the modules that have updates?
in other words, i need to update all of my modules to the latest release.
how can i get a list of all of out of date modules and what is the best way to update them?
i think there will be a better choice to update modules than downloading the latest release to /sites/all/modules and the run update.php
thanks for your help
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(2)
实际上,手动更新是 Drupal 6 中唯一的解决方案(我确信它可以按照预期的方式工作)。
您可以从
admin/reports/updates
获取更新模块的列表页。使用 Drupal 7,您可以使用
admin/reports/updates/update
并更新模块。我还没有机会亲自测试,但我认为它应该可以正常工作。但是,Drupal 核心仍然需要手动更新。Actually, a manual update is the only solution (that I know for sure works in the way it is supposed to work) in Drupal 6.
You get a list of updated modules from the
admin/reports/updates
page.With Drupal 7, you have the ability you use
admin/reports/updates/update
and update the modules. I haven't had the chance to test that myself but I assume that it should work ok. But still, Drupal core needs to be updated manually.如果您可以通过 SSH 访问您的网站,请考虑安装 http://drupal.org/project/drush Drush并使用命令
如果一切顺利,您的站点将拥有所有模块的最新版本,并且 Drupal 本身将在 5 分钟内完成升级。但是,请确保之前创建站点的备份(模块和数据库)。
If you have SSH access to your website, consider installing http://drupal.org/project/drush Drush and use the command
If all goes well, your site has the latest versions of all modules and Drupal itself upgraded in less than 5 minutes. Make sure to create a backup of the site before, however (modules and database).