{"id":2474,"date":"2018-09-21T09:01:53","date_gmt":"2018-09-21T03:31:53","guid":{"rendered":"https:\/\/pheonixsolutions.com\/blog\/?p=2474"},"modified":"2018-10-12T16:06:51","modified_gmt":"2018-10-12T10:36:51","slug":"upgrading-wordpress-manually-in-centos-7","status":"publish","type":"post","link":"https:\/\/pheonixsolutions.com\/blog\/upgrading-wordpress-manually-in-centos-7\/","title":{"rendered":"Upgrading WordPress Manually in Centos 7"},"content":{"rendered":"<h3>Upgrading WordPress Manually in Centos 7<\/h3>\n<h4><strong>Date Posted : 20-09-2018<\/strong><\/h4>\n<p>In this article, we are about to learn about how to upgrade WordPress version from rear end.We assuming that your have installed LAMP stack.<\/p>\n<h5>Prerequisite :<\/h5>\n<p>Acquaintance of WordPress,MySQL<\/p>\n<h5>Assumptions:<\/h5>\n<ul>\n<li>Centos 7 is running in your server<\/li>\n<li>WordPress version : 4.8.7\u00a0 which will be upgraded to version 4.8.9<\/li>\n<li>In this article, My WordPress root directory path will be \/var\/www\/html\/wordpress (You may change the path at your convenience)<\/li>\n<\/ul>\n<p>In following paragraphs we are going to learn about upgradation step by step<\/p>\n<p>Firstly, before upgrading WordPress version.You need to create a full backup of your website(includes wp files and database).This will helpful to restore the data when something goes wrong.<\/p>\n<h5>Upgrading WordPress Core<\/h5>\n<p>After performing Backup, lets move to upgradation.<\/p>\n<p>Step 1 : Download the latest version of wordpress (as reference to this article,we are installing version 4.8.9) from officila wordpress website (https:\/\/wordpress.org\/download\/releases\/)<\/p>\n<p>Step 2 : Unzip the downloaded latest release into a directory on your local machine or in a separate directory at your convinent (In this example we saved in\u00a0 directory\/root\/wordpress).<\/p>\n<p>Step 3 : Go to your website root directory (i.e.) \/var\/www\/html\/wordpress.Delete the following directories &#8216;wp-admin&#8217; and\u00a0 &#8216;wp-includes&#8217;.<\/p>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\">#cd \/var\/www\/html\/wordpress\/<\/code><\/p>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"shell\"><\/code><span style=\"background-color: #f9f9f9; color: #000000; font-family: 'Source Code Pro', 'Liberation Mono', 'Courier New', Courier, monospace; font-size: 0.7em;\">#rm \u2013rf wp-admin wp-includes\/<\/span><\/p>\n<p>Step 4 : Now,Copy the &#8216;wp-includes&#8217; and &#8216;wp-includes&#8217; directories from the unzipped new version WordPress to the website root directory(which replaces the directories deleted in step 2 at website root directory)<\/p>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">#mv \/root\/wordpress\/wp-admin \/var\/www\/html\/wp-admin\/<\/code><\/p>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\"><\/code><span style=\"background-color: #f9f9f9; color: #000000; font-family: 'Source Code Pro', 'Liberation Mono', 'Courier New', Courier, monospace; font-size: 0.7em;\">#mv \/root\/wordpress\/wp-inicludes \/var\/www\/html\/wp-includes<\/span><\/p>\n<p>Step 5 : After step 4, dont delete any files or directories in the website root directory.Here, we going to copy all the files from unzipped new version WordPress directory to existing &#8216;wordpress&#8217; website root directory (by this act we overwrite the existing files with same name)<\/p>\n<p><code class=\"EnlighterJSRAW\" data-enlighter-language=\"null\">#mv \/root\/wordpress\/* \/var\/www\/html\/wordpress\/<\/code><\/p>\n<p>optionally, we can also backup the &#8216;wp-content&#8217; of new version as backup before copying to current website root directory.<\/p>\n<p>Step 6 : Your wp-config.php file will not be affected because wordpress default config file will be wp-config-sample.php.Investigate wp-config-sample.php for any updates to change in wp-config.php file.<\/p>\n<p>Step 7 : Now,From Browser visit main WordPress admin page as &#8216;ip address (or)domain name\/wp-admin\/&#8217;.this will direct to sign-in page.If you&#8217;re encountered with error in sign-in,try once again after clearing browser cookies.<\/p>\n<p>Step 8 : Clear your browser cache to experience the changes on your site.<\/p>\n<p>After following above steps successfully,now your WordPress is upgraded completely with latest version of WordPress.<\/p>\n<p>Please feel free to provide constructive feedback. Comments are greatly appreciated !<\/p>\n<p>&nbsp;<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Upgrading WordPress Manually in Centos 7 Date Posted : 20-09-2018 In this article, we are about to learn about how [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"default","site-content-style":"default","site-sidebar-style":"default","ast-global-header-display":"","ast-banner-title-visibility":"","ast-main-header-display":"","ast-hfb-above-header-display":"","ast-hfb-below-header-display":"","ast-hfb-mobile-header-display":"","site-post-title":"","ast-breadcrumbs-content":"","ast-featured-img":"","footer-sml-layout":"","ast-disable-related-posts":"","theme-transparent-header-meta":"","adv-header-id-meta":"","stick-header-meta":"","header-above-stick-meta":"","header-main-stick-meta":"","header-below-stick-meta":"","astra-migrate-meta-layouts":"default","ast-page-background-enabled":"default","ast-page-background-meta":{"desktop":{"background-color":"var(--ast-global-color-5)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"ast-content-background-meta":{"desktop":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"tablet":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""},"mobile":{"background-color":"var(--ast-global-color-4)","background-image":"","background-repeat":"repeat","background-position":"center center","background-size":"auto","background-attachment":"scroll","background-type":"","background-media":"","overlay-type":"","overlay-color":"","overlay-opacity":"","overlay-gradient":""}},"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2},"jetpack_post_was_ever_published":false},"categories":[1022],"tags":[415,179,167,416],"class_list":["post-2474","post","type-post","status-publish","format-standard","hentry","category-web-architecture","tag-centos-7","tag-mysql-2","tag-wordpress-2","tag-wp-version","psol-cat-web-architecture"],"jetpack_publicize_connections":[],"jetpack_shortlink":"https:\/\/wp.me\/phn2x7-DU","jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/2474","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/comments?post=2474"}],"version-history":[{"count":0,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/posts\/2474\/revisions"}],"wp:attachment":[{"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/media?parent=2474"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/categories?post=2474"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/pheonixsolutions.com\/blog\/wp-json\/wp\/v2\/tags?post=2474"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}