Godaddy Drupal Update

Source: Internet
Author: User
Tags drupal

By default, Godaddy only supports Drupal to 7.22. Currently, Drupal has been upgraded to 7.28. After Drupal 7.22 is installed, it can only be upgraded manually.

Install Drupal in: https://hostingconnection.godaddy.com/Application/Drupal.aspx

  1. Go to Administration> Configuration> Development> Maintenance mode. Check the "Put site into maintenance mode" selection box and save the Configuration.

  2. Back up original files and databases

  3. Delete (except for the sites directory and. Htaccess) All files

  4. To upload a new version of Drupal, you must use Hosting-> Files & FTP-> File Manager.

    1. Upload using drupal-7.xx.zip"

    2. Right-click Export drupal-7.xx.zip, select "Extract", select your directory, and click OK.

    3. Enter the decompressed directory and select all directories and files (except sites)

    4. Select Move. In the open "Move Files and Folders" dialog box, select a directory and click OK.

    5. Database Upgrade:Http://www.yoursite.com/update.php

  5. Correct the following error in http://www.yoursite.com/admin/reports/status:
    Temporary files directoryNot fully protected
    See http://drupal.org/SA-CORE-2013-003 for information about the recommended. htaccess file which shocould be added to the/tmp directory to help protect against arbitrary code execution.
    This error is caused by incorrect tmp directory permissions:

    1. Create a. htaccess file with the following content:
      Deny from all

      # Turn off all options we don't need.
      Options None
      Options + FollowSymLinks

      # Set the catch-all handler to prevent scripts from being executed.
      SetHandler Drupal_Security_Do_Not_Remove_See_SA_2006_006
      <Files *>
      # Override the handler again if we're re run later in the evaluation list.
      SetHandler Drupal_Security_Do_Not_Remove_See_SA_2013_003
      </Files>

      # If we know how to do it safely, disable the PHP engine entirely.
      <IfModule mod_php5.c>
      Php_flag engine off
      </IfModule>

    2. Create the tmp directory (for security, it is best to level the directory with drupal)

    3. Administration> Configuration> Media> File system

    4. Modify Temporary directory to become ../tmp (if tmp and drupal are on the same level)

    5. Put. htaccess in the tmp directory

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.