{"id":41735,"date":"2015-01-28T03:09:39","date_gmt":"2015-01-28T08:09:39","guid":{"rendered":"http:\/\/www.templatemonster.com\/help\/?p=41735"},"modified":"2020-02-03T03:25:44","modified_gmt":"2020-02-03T08:25:44","slug":"drupal-7-x-how-to-update-the-engine","status":"publish","type":"post","link":"https:\/\/www.templatemonster.com\/help\/drupal-7-x-how-to-update-the-engine.html","title":{"rendered":"Drupal 7.x. How to update the engine"},"content":{"rendered":"<p>\r\n<\/p>\r\n<p>Our support team is glad to present you our new tutorial that will show you how to <strong> update Drupal engine<\/strong>:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=j7xlX6R9ULg?width=1280&amp;height=720\" rel=\"prettyPhoto\">Drupal 7.x. How to update the engine<\/a><\/p>\r\n<ol>\r\n<li>\r\n<p>Open official Drupal site at <strong> <a href=\"https:\/\/www.drupal.org\/download\" target=\"_blank\"> drupal.org <\/a><\/strong> to download the latest stable release of Drupal engine in <strong> .zip <\/strong> format: <\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_1.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_1-300x189.png\" alt=\"11.Drupal.How_to_update_engine_1\" width=\"300\" height=\"189\" class=\"aligncenter size-medium wp-image-41736\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_1-300x189.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_1-150x94.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_1-1024x647.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_1.png 1201w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p> Go to your <strong> FTP or Hosting cPanel Filemanager <\/strong> and open your site root folder there (public_html, www, etc.). Create <strong>&#8220;drupal_new&#8221;<\/strong> folder there. If your site is located in folder, named <strong>drupal<\/strong> for example, you will have two folders in the same directory: <strong>drupal<\/strong> &#8211; current site location and <strong>drupal_new<\/strong>, that is empty at the moment:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_2.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_2-300x189.png\" alt=\"11.Drupal.How_to_update_engine_2\" width=\"300\" height=\"189\" class=\"aligncenter size-medium wp-image-41737\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_2-300x189.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_2-150x94.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_2-1024x647.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_2.png 1201w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p>Upload the latest Drupal archive to this folder and <strong> extract it <\/strong> if you are using Cpanel. Otherwise you may upload unzipped files via FTP:\r\n\t\t<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_3.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_3-300x189.png\" alt=\"11.Drupal.How_to_update_engine_3\" width=\"300\" height=\"189\" class=\"aligncenter size-medium wp-image-41738\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_3-300x189.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_3-150x94.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_3-1024x647.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_3.png 1201w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p>Copy <strong>.htacess<\/strong> file and <strong> &#8220;site&#8221; <\/strong> folder from your current site location to this new directory, allowing files overwriting.\r\n\t\t<\/p>\r\n<\/li>\r\n<li>\r\n<p>Go to <strong>drupal_new\/sites\/default<\/strong> directory and locate <strong> settings.php <\/strong> file there. Open it for editing:\r\n\t\t<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_4.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_4-300x189.png\" alt=\"11.Drupal.How_to_update_engine_4\" width=\"300\" height=\"189\" class=\"aligncenter size-medium wp-image-41739\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_4-300x189.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_4-150x94.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_4-1024x647.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_4.png 1201w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p>Locate line of code that says:<\/p>\r\n<pre class=\"brush:php\">$update_free_access=FALSE;<\/pre>\r\n<p>Change it to:<\/p>\r\n<pre class=\"brush:php\">$update_free_access=TRUE;<\/pre>\r\n<p>to allow access to update script. Save changes applied:<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_5.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_5-300x189.png\" alt=\"11.Drupal.How_to_update_engine_5\" width=\"300\" height=\"189\" class=\"aligncenter size-medium wp-image-41740\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_5-300x189.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_5-150x94.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_5-1024x647.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_5.png 1201w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p>Open your browser and type <strong>http:\/\/yourwebsiteurl\/drupal_new\/update.php <\/strong> in address bar:\r\n\t\t<\/p>\r\n<\/li>\r\n<li>\r\n<p>Click on <strong>Continue <\/strong> button if you&#8217;re ready with site backup. You may check <a target=\"_blank\" href=\"\/help\/phpmyadmin-how-to-backup-a-database.html\">this detailed guide <\/a> on how to backup your data:\r\n\t\t<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_6.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_6-300x150.png\" alt=\"11.Drupal.How_to_update_engine_6\" width=\"300\" height=\"150\" class=\"aligncenter size-medium wp-image-41741\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_6-300x150.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_6-150x75.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_6-1024x514.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_6.png 1201w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p>Click on <strong>Apply pending updates <\/strong> button:\r\n\t\t<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_7.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_7-300x150.png\" alt=\"11.Drupal.How_to_update_engine_7\" width=\"300\" height=\"150\" class=\"aligncenter size-medium wp-image-41742\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_7-300x150.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_7-150x75.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_7-1024x514.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_7.png 1201w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<li>\r\n<p>Go back to <strong>drupal_new &#8211;> sites &#8211;> default<\/strong> to edit <strong> settings.php <\/strong> file once again. Change <strong>TRUE<\/strong> back to <strong>FALSE<\/strong> same way as in step 6.\r\n\t\t<\/p>\r\n<\/li>\r\n<li>\r\n<p>Open <strong>http:\/\/yourwebsiteurl\/drupal_new\/<\/strong> in browser to check if the site works properly.\r\n\t\t<\/p>\r\n<\/li>\r\n<li>\r\n<p>If the site appears properly, go to your FTP or CPanel, rename current site location from <strong>drupal<\/strong> to <strong>drupal_old<\/strong> and <strong>drupal_new<\/strong> to <strong>drupal<\/strong>.\r\n\t\t<\/p>\r\n<\/li>\r\n<li>\r\n<p>Open your site after renaming (it will be <strong>http:\/\/yourwebsiteurl\/drupal<\/strong>) and log into admin panel. Go to <strong>Reports &#8211;> Available Updates<\/strong>. In case all the steps were performed properly, you will see that Drupal core is up to date, you have successfully updated it to the latest version.\r\n\t\t<\/p>\r\n<p><a href=\"\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_8.png\"><img loading=\"lazy\" src=\"\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_8-300x150.png\" alt=\"11.Drupal.How_to_update_engine_8\" width=\"300\" height=\"150\" class=\"aligncenter size-medium wp-image-41743\" srcset=\"https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_8-300x150.png 300w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_8-150x75.png 150w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_8-1024x514.png 1024w, https:\/\/www.templatemonster.com\/help\/wp-content\/uploads\/2014\/12\/11.Drupal.How_to_update_engine_8.png 1201w\" sizes=\"(max-width: 300px) 100vw, 300px\" \/><\/a>\r\n\t<\/li>\r\n<\/ol>\r\n<p>Feel free to check the detailed video tutorial below:<\/p>\r\n<p><a href=\"http:\/\/www.youtube.com\/watch?v=j7xlX6R9ULg?width=1280&amp;height=720\" rel=\"prettyPhoto\">Drupal 7.x. How to update the engine<\/a><\/p>\r\n<\/p>\r\n<p><\/p>","protected":false},"excerpt":{"rendered":"<p>Our support team is glad to present you our new tutorial that will show you how to  update Drupal engine.<\/p>\n","protected":false},"author":59,"featured_media":43344,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":[],"categories":[723],"tags":[593,563,610],"_links":{"self":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/41735"}],"collection":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/users\/59"}],"replies":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/comments?post=41735"}],"version-history":[{"count":1,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/41735\/revisions"}],"predecessor-version":[{"id":86192,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/posts\/41735\/revisions\/86192"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media\/43344"}],"wp:attachment":[{"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/media?parent=41735"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/categories?post=41735"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.templatemonster.com\/help\/wp-json\/wp\/v2\/tags?post=41735"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}