{"id":930,"date":"2019-12-03T11:51:06","date_gmt":"2019-12-03T11:51:06","guid":{"rendered":"https:\/\/theemailshop.co.uk\/forum\/?post_type=epkb_post_type_1&amp;p=930"},"modified":"2019-12-03T11:51:06","modified_gmt":"2019-12-03T11:51:06","slug":"how-to-set-the-php-version-per-folder","status":"publish","type":"epkb_post_type_1","link":"https:\/\/theemailshop.co.uk\/community\/knowledge-base\/how-to-set-the-php-version-per-folder\/","title":{"rendered":"HOW TO SET THE PHP VERSION PER FOLDER?"},"content":{"rendered":"<ul>\n<li>Sign-in to your cPanel account.<\/li>\n<li>In the &#8220;<strong>Software<\/strong>&#8221; section, tap on the &#8220;<strong>MultiPHP Manager<\/strong>&#8221; Icon.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone size-full wp-image-903\" src=\"https:\/\/theemailshop.co.uk\/forum\/wp-content\/uploads\/2019\/12\/cpanel-multiphp-icon.gif\" alt=\"cpanel multiphp icon\" width=\"188\" height=\"51\" \/><\/p>\n<ul>\n<li>Navigate to the bottom of the page and select your domain from the left side of the screen<\/li>\n<li>On the right side, an option <strong>&#8220;PHP Version&#8221;<\/strong> will appear with a drop-down menu<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-905 size-full\" src=\"https:\/\/theemailshop.co.uk\/forum\/wp-content\/uploads\/2019\/12\/cpanel-multiphp-select-domain-full.gif\" alt=\"cpanel-multiphp-select-domain-full\" width=\"550\" height=\"220\" \/><\/p>\n<ul>\n<li>Select the desired PHP version from it and tap the Apply button.<\/li>\n<li>Now, go to your FTP account or cPanel File Manager, open the \/public_html\/.htaccess file.<\/li>\n<\/ul>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"alignnone wp-image-936 size-full\" src=\"https:\/\/theemailshop.co.uk\/forum\/wp-content\/uploads\/2019\/12\/cpanel-multiphp-version-generated.gif\" alt=\"cpanel-multiphp-version-generated\" width=\"550\" height=\"99\" \/><\/p>\n<ul>\n<li>Copy that code<\/li>\n<li>Now, if you want to change your PHP version to latest PHP version 7 you need to create a .htaccess file in the folder \/forum<\/li>\n<li>Paste the code which was generated in the previous step.<\/li>\n<li>Your folder is now successfully set to PHP version 7.<\/li>\n<li>In case, you want to use the same PHP version in some other folder than simple copy .htaccess file and paste into that folder.<\/li>\n<\/ul>\n<p>If you wish to use a different PHP version on any folder, you will need to follow steps 6 to 12, in order to generate the code.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Sign-in to your cPanel account. In the &#8220;Software&#8221; section, tap on the &#8220;MultiPHP Manager&#8221; Icon. Navigate to the bottom of [&hellip;]<\/p>\n","protected":false},"author":5,"featured_media":0,"comment_status":"open","ping_status":"closed","template":"","meta":{"site-sidebar-layout":"default","site-content-layout":"","ast-site-content-layout":"","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":"","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-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":"","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-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":"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":""},"mobile":{"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":""}},"footnotes":""},"epkb_post_type_1_category":[73],"epkb_post_type_1_tag":[29,222,122],"class_list":["post-930","epkb_post_type_1","type-epkb_post_type_1","status-publish","hentry","epkb_post_type_1_category-cpanel-control-panel","epkb_post_type_1_tag-cpanel","epkb_post_type_1_tag-multiphp","epkb_post_type_1_tag-php"],"_links":{"self":[{"href":"https:\/\/theemailshop.co.uk\/community\/wp-json\/wp\/v2\/epkb_post_type_1\/930","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/theemailshop.co.uk\/community\/wp-json\/wp\/v2\/epkb_post_type_1"}],"about":[{"href":"https:\/\/theemailshop.co.uk\/community\/wp-json\/wp\/v2\/types\/epkb_post_type_1"}],"author":[{"embeddable":true,"href":"https:\/\/theemailshop.co.uk\/community\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/theemailshop.co.uk\/community\/wp-json\/wp\/v2\/comments?post=930"}],"version-history":[{"count":0,"href":"https:\/\/theemailshop.co.uk\/community\/wp-json\/wp\/v2\/epkb_post_type_1\/930\/revisions"}],"wp:attachment":[{"href":"https:\/\/theemailshop.co.uk\/community\/wp-json\/wp\/v2\/media?parent=930"}],"wp:term":[{"taxonomy":"epkb_post_type_1_category","embeddable":true,"href":"https:\/\/theemailshop.co.uk\/community\/wp-json\/wp\/v2\/epkb_post_type_1_category?post=930"},{"taxonomy":"epkb_post_type_1_tag","embeddable":true,"href":"https:\/\/theemailshop.co.uk\/community\/wp-json\/wp\/v2\/epkb_post_type_1_tag?post=930"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}