Drupal 7.x. 如何更新引擎
2015年1月28日
我们的支持团队很高兴向您展示我们的新教程,将向您展示如何 update Drupal引擎:
-
打开Drupal官方网站 drupal.org 下载最新稳定版本的Drupal引擎 .zip format:
-
Go to your FTP or Hosting cPanel Filemanager 打开你的网站 root folder (public_html, www, etc.). Create “drupal_new” 文件夹中有. 如果您的站点位于文件夹中,则命名为 drupal 例如,您将在同一个文件夹中有两个文件夹 directory: drupal -当前站点位置和 drupal_new,目前是空的;
-
上传最新的Drupal archive 到这个文件夹 extract it 如果你正在使用 Cpanel. 否则,您可以通过 FTP:
-
Copy .htacess file and “site” 文件夹从当前站点位置移到这个新的 directory,允许文件覆盖.
-
Go to drupal_new /网站/违约 directory and locate settings.php file there. 打开它进行编辑:
-
定位如下代码行:
美元update_free_access = FALSE;
更改为:
美元update_free_access = TRUE;
允许访问 update script. 保存已应用的更改:
-
Open your browser and type http: / / yourwebsiteurl / drupal_new /update.php 在地址栏中:
-
Click on Continue 按钮,如果你准备好了网站 backup. 你可以查一下 详细的指南 on how to backup your data:
-
Click on 应用挂起的更新 button:
-
Go back to drupal_new –> sites –> default to edit settings.php 再次归档. Change TRUE back to FALSE 和步骤6一样.
-
Open http: / / yourwebsiteurl / drupal_new / in browser 检查站点是否正常运行.
-
如果网站显示正常,请转到您的 FTP or CPanel,重命名当前站点位置 drupal to drupal_old and drupal_new to drupal.
-
重命名后打开您的网站(它将是) http: / / yourwebsiteurl / drupal),并登入管理面板. Go to Reports –> Available Updates. 如果所有步骤都正确执行,您将看到 Drupal core 是最新的,你已经成功更新到最新版本了吗.
请随时查看下面的详细视频教程: