{"id":622,"date":"2019-03-07T13:57:17","date_gmt":"2019-03-07T13:57:17","guid":{"rendered":"https:\/\/shujaahost.co.ke\/blog\/?p=622"},"modified":"2019-03-29T09:10:28","modified_gmt":"2019-03-29T09:10:28","slug":"how-to-change-php-version-in-cpanel","status":"publish","type":"post","link":"https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/","title":{"rendered":"How to change PHP version in Cpanel."},"content":{"rendered":"\n<p> All shared web hosting accounts at ShujaaHost provide you with the ability to choose your own PHP  version. It is necessary when your source code is running on older  versions of PHP or even latest stable version of PHP. <\/p>\n\n\n\n<p>You can switch between PHP versions to make your scripts compatible and run smoothly. <em>(<a href=\"https:\/\/shujaahost.co.ke\/webhosting\">If you&#8217;re not hosting with us, now&#8217;s the time to switch to our shared hosting.<\/a>)<\/em><\/p>\n\n\n\n<p><strong>Step 1:<\/strong> Log into your cPanel account.<\/p>\n\n\n\n<p><strong>Step 2:<\/strong> Scroll down to Software Section then click <strong>PHP Configuration.<\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"204\" src=\"https:\/\/shujaahost.co.ke\/blog\/wp-content\/uploads\/2019\/03\/Software-1024x204.png\" alt=\"PHP Configuration\" class=\"wp-image-623\" srcset=\"https:\/\/shujaahost.co.ke\/blog\/wp-content\/uploads\/2019\/03\/Software-1024x204.png 1024w, https:\/\/shujaahost.co.ke\/blog\/wp-content\/uploads\/2019\/03\/Software-300x60.png 300w, https:\/\/shujaahost.co.ke\/blog\/wp-content\/uploads\/2019\/03\/Software-768x153.png 768w, https:\/\/shujaahost.co.ke\/blog\/wp-content\/uploads\/2019\/03\/Software-150x30.png 150w, https:\/\/shujaahost.co.ke\/blog\/wp-content\/uploads\/2019\/03\/Software.png 1365w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 3:<\/strong> Click on the drop down then select the version of PHP you want to use.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"475\" src=\"https:\/\/shujaahost.co.ke\/blog\/wp-content\/uploads\/2019\/03\/Php-Version-1024x475.png\" alt=\"PHP Versions\" class=\"wp-image-624\" srcset=\"https:\/\/shujaahost.co.ke\/blog\/wp-content\/uploads\/2019\/03\/Php-Version-1024x475.png 1024w, https:\/\/shujaahost.co.ke\/blog\/wp-content\/uploads\/2019\/03\/Php-Version-300x139.png 300w, https:\/\/shujaahost.co.ke\/blog\/wp-content\/uploads\/2019\/03\/Php-Version-768x356.png 768w, https:\/\/shujaahost.co.ke\/blog\/wp-content\/uploads\/2019\/03\/Php-Version-150x70.png 150w, https:\/\/shujaahost.co.ke\/blog\/wp-content\/uploads\/2019\/03\/Php-Version.png 1363w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p><strong>Step 4: <\/strong>Proceed to click <strong>Update <\/strong>to save your PHP Configuration changes.<\/p>\n\n\n\n<p><strong>Step 5: <\/strong>To confirm your saved changes, view your settings in a phpinfo page.<\/p>\n\n\n\n<p><\/p>\n","protected":false},"excerpt":{"rendered":"<p>All shared web hosting accounts at ShujaaHost provide you with the ability to choose your own PHP version. It is necessary when your source code is running on older versions of PHP or even latest stable version of PHP. You can switch between PHP versions to make your scripts compatible and run smoothly. (If you&#8217;re ..<\/p>\n<div class=\"clear-fix\"><\/div>\n<p><a href=\"https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/\" title=\"read more...\">Read more<\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[1],"tags":[],"class_list":["post-622","post","type-post","status-publish","format-standard","hentry","category-web-hosting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v26.8 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>How to change PHP version in Cpanel. - Shujaa Host<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to change PHP version in Cpanel. - Shujaa Host\" \/>\n<meta property=\"og:description\" content=\"All shared web hosting accounts at ShujaaHost provide you with the ability to choose your own PHP version. It is necessary when your source code is running on older versions of PHP or even latest stable version of PHP. You can switch between PHP versions to make your scripts compatible and run smoothly. (If you&#8217;re ..Read more\" \/>\n<meta property=\"og:url\" content=\"https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/\" \/>\n<meta property=\"og:site_name\" content=\"Shujaa Host\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/shujaahostKenya\/\" \/>\n<meta property=\"article:published_time\" content=\"2019-03-07T13:57:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-03-29T09:10:28+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/shujaahost.co.ke\/blog\/wp-content\/uploads\/2019\/03\/Software-1024x204.png\" \/>\n<meta name=\"author\" content=\"Cosmas Korir\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@shujaahost_ke\" \/>\n<meta name=\"twitter:site\" content=\"@shujaahost_ke\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Cosmas Korir\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/\"},\"author\":{\"name\":\"Cosmas Korir\",\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/#\/schema\/person\/05c3cd0b767a65a164c5ed37c3edda59\"},\"headline\":\"How to change PHP version in Cpanel.\",\"datePublished\":\"2019-03-07T13:57:17+00:00\",\"dateModified\":\"2019-03-29T09:10:28+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/\"},\"wordCount\":131,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/shujaahost.co.ke\/blog\/wp-content\/uploads\/2019\/03\/Software-1024x204.png\",\"articleSection\":[\"Web Hosting\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/\",\"url\":\"https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/\",\"name\":\"How to change PHP version in Cpanel. - Shujaa Host\",\"isPartOf\":{\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/shujaahost.co.ke\/blog\/wp-content\/uploads\/2019\/03\/Software-1024x204.png\",\"datePublished\":\"2019-03-07T13:57:17+00:00\",\"dateModified\":\"2019-03-29T09:10:28+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/#primaryimage\",\"url\":\"https:\/\/shujaahost.co.ke\/blog\/wp-content\/uploads\/2019\/03\/Software.png\",\"contentUrl\":\"https:\/\/shujaahost.co.ke\/blog\/wp-content\/uploads\/2019\/03\/Software.png\",\"width\":1365,\"height\":272},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/shujaahost.co.ke\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to change PHP version in Cpanel.\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/#website\",\"url\":\"https:\/\/shujaahost.co.ke\/blog\/\",\"name\":\"Shujaa Host\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/shujaahost.co.ke\/blog\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/#organization\",\"name\":\"Shujaa Host\",\"url\":\"https:\/\/shujaahost.co.ke\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/shujaahost.co.ke\/blog\/wp-content\/uploads\/2018\/10\/new-logo3-e1550211460915.png\",\"contentUrl\":\"https:\/\/shujaahost.co.ke\/blog\/wp-content\/uploads\/2018\/10\/new-logo3-e1550211460915.png\",\"width\":911,\"height\":770,\"caption\":\"Shujaa Host\"},\"image\":{\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/shujaahostKenya\/\",\"https:\/\/x.com\/shujaahost_ke\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/#\/schema\/person\/05c3cd0b767a65a164c5ed37c3edda59\",\"name\":\"Cosmas Korir\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/shujaahost.co.ke\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/b163afca96bad97fe2edc180307eb19d?s=96&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/b163afca96bad97fe2edc180307eb19d?s=96&r=g\",\"caption\":\"Cosmas Korir\"},\"sameAs\":[\"https:\/\/shujaahost.co.ke\"],\"url\":\"https:\/\/shujaahost.co.ke\/blog\/author\/cosmas\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to change PHP version in Cpanel. - Shujaa Host","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/","og_locale":"en_US","og_type":"article","og_title":"How to change PHP version in Cpanel. - Shujaa Host","og_description":"All shared web hosting accounts at ShujaaHost provide you with the ability to choose your own PHP version. It is necessary when your source code is running on older versions of PHP or even latest stable version of PHP. You can switch between PHP versions to make your scripts compatible and run smoothly. (If you&#8217;re ..Read more","og_url":"https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/","og_site_name":"Shujaa Host","article_publisher":"https:\/\/www.facebook.com\/shujaahostKenya\/","article_published_time":"2019-03-07T13:57:17+00:00","article_modified_time":"2019-03-29T09:10:28+00:00","og_image":[{"url":"https:\/\/shujaahost.co.ke\/blog\/wp-content\/uploads\/2019\/03\/Software-1024x204.png","type":"","width":"","height":""}],"author":"Cosmas Korir","twitter_card":"summary_large_image","twitter_creator":"@shujaahost_ke","twitter_site":"@shujaahost_ke","twitter_misc":{"Written by":"Cosmas Korir","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/#article","isPartOf":{"@id":"https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/"},"author":{"name":"Cosmas Korir","@id":"https:\/\/shujaahost.co.ke\/blog\/#\/schema\/person\/05c3cd0b767a65a164c5ed37c3edda59"},"headline":"How to change PHP version in Cpanel.","datePublished":"2019-03-07T13:57:17+00:00","dateModified":"2019-03-29T09:10:28+00:00","mainEntityOfPage":{"@id":"https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/"},"wordCount":131,"commentCount":0,"publisher":{"@id":"https:\/\/shujaahost.co.ke\/blog\/#organization"},"image":{"@id":"https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/shujaahost.co.ke\/blog\/wp-content\/uploads\/2019\/03\/Software-1024x204.png","articleSection":["Web Hosting"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/","url":"https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/","name":"How to change PHP version in Cpanel. - Shujaa Host","isPartOf":{"@id":"https:\/\/shujaahost.co.ke\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/#primaryimage"},"image":{"@id":"https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/#primaryimage"},"thumbnailUrl":"https:\/\/shujaahost.co.ke\/blog\/wp-content\/uploads\/2019\/03\/Software-1024x204.png","datePublished":"2019-03-07T13:57:17+00:00","dateModified":"2019-03-29T09:10:28+00:00","breadcrumb":{"@id":"https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/#primaryimage","url":"https:\/\/shujaahost.co.ke\/blog\/wp-content\/uploads\/2019\/03\/Software.png","contentUrl":"https:\/\/shujaahost.co.ke\/blog\/wp-content\/uploads\/2019\/03\/Software.png","width":1365,"height":272},{"@type":"BreadcrumbList","@id":"https:\/\/shujaahost.co.ke\/blog\/how-to-change-php-version-in-cpanel\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/shujaahost.co.ke\/blog\/"},{"@type":"ListItem","position":2,"name":"How to change PHP version in Cpanel."}]},{"@type":"WebSite","@id":"https:\/\/shujaahost.co.ke\/blog\/#website","url":"https:\/\/shujaahost.co.ke\/blog\/","name":"Shujaa Host","description":"","publisher":{"@id":"https:\/\/shujaahost.co.ke\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/shujaahost.co.ke\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/shujaahost.co.ke\/blog\/#organization","name":"Shujaa Host","url":"https:\/\/shujaahost.co.ke\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/shujaahost.co.ke\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/shujaahost.co.ke\/blog\/wp-content\/uploads\/2018\/10\/new-logo3-e1550211460915.png","contentUrl":"https:\/\/shujaahost.co.ke\/blog\/wp-content\/uploads\/2018\/10\/new-logo3-e1550211460915.png","width":911,"height":770,"caption":"Shujaa Host"},"image":{"@id":"https:\/\/shujaahost.co.ke\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/shujaahostKenya\/","https:\/\/x.com\/shujaahost_ke"]},{"@type":"Person","@id":"https:\/\/shujaahost.co.ke\/blog\/#\/schema\/person\/05c3cd0b767a65a164c5ed37c3edda59","name":"Cosmas Korir","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/shujaahost.co.ke\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/b163afca96bad97fe2edc180307eb19d?s=96&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/b163afca96bad97fe2edc180307eb19d?s=96&r=g","caption":"Cosmas Korir"},"sameAs":["https:\/\/shujaahost.co.ke"],"url":"https:\/\/shujaahost.co.ke\/blog\/author\/cosmas\/"}]}},"_links":{"self":[{"href":"https:\/\/shujaahost.co.ke\/blog\/wp-json\/wp\/v2\/posts\/622","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/shujaahost.co.ke\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/shujaahost.co.ke\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/shujaahost.co.ke\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/shujaahost.co.ke\/blog\/wp-json\/wp\/v2\/comments?post=622"}],"version-history":[{"count":5,"href":"https:\/\/shujaahost.co.ke\/blog\/wp-json\/wp\/v2\/posts\/622\/revisions"}],"predecessor-version":[{"id":793,"href":"https:\/\/shujaahost.co.ke\/blog\/wp-json\/wp\/v2\/posts\/622\/revisions\/793"}],"wp:attachment":[{"href":"https:\/\/shujaahost.co.ke\/blog\/wp-json\/wp\/v2\/media?parent=622"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/shujaahost.co.ke\/blog\/wp-json\/wp\/v2\/categories?post=622"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/shujaahost.co.ke\/blog\/wp-json\/wp\/v2\/tags?post=622"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}