{"id":97173,"date":"2022-05-24T19:51:48","date_gmt":"2022-05-24T23:51:48","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/?p=97173"},"modified":"2024-06-04T12:35:38","modified_gmt":"2024-06-04T16:35:38","slug":"change-php-version-in-control-web-panel-cwp","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/","title":{"rendered":"Change PHP Version in Control Web Panel (CWP)"},"content":{"rendered":"<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"538\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-change-php-version-1024x538.jpg\" alt=\"Change PHP Version in Control Web Panel - PHP Version Switcher &amp; PHP Selector\" class=\"wp-image-97171\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-change-php-version-1024x538.jpg 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-change-php-version-300x158.jpg 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-change-php-version-768x403.jpg 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-change-php-version.jpg 1200w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure>\n\n\n\n<p>PHP is a popular programming language for dynamic site generation and integrating databases into web applications. Notable examples include the WordPress content management system (CMS), WHMCS billing system, <a href=\"https:\/\/www.inmotionhosting.com\/php-hosting\">PHP app hosting<\/a>, and Nextcloud personal cloud storage solution.<\/p>\n\n\n\n<p>This high popularity results in a frequent need to upgrade or simply change PHP versions. A new version of PHP is released more than annually to include security bug fixes and new features. However, which PHP version(s) you need in Control Web Panel (CWP) depends on the applications you need. Below we\u2019ll cover how to change the primary PHP version and select a specific version for different user accounts.<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#server\">Change PHP Version in CWP<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#multiple\">Install Multiple PHP Versions<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><a href=\"#selector\">Set Multiple PHP versions with PHP Selector<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#manual\">Manually Set Multiple PHP Versions<\/a><\/li>\n<\/ul>\n<\/li>\n\n\n\n<li><a href=\"#edit\">Edit PHP.ini in CWP<\/a>\n<ul class=\"wp-block-list\">\n<li><a href=\"#phpinfo\">Create a PHPInfo.php File<\/a><\/li>\n<\/ul>\n<\/li>\n<\/ul>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"server\">Change PHP Version in CWP<\/h2>\n\n\n\n<p>Follow these steps to change the main PHP version in CWP. Generally, you should select the latest version. But if you have PHP applications installed, check the software documentation as you might be better off with the recommended version instead.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/install-control-web-panel-cwp\/#login\">Log into CWP<\/a> as an administrator.<\/li>\n\n\n\n<li>On the left, search for and select <strong>PHP Version Switcher<\/strong>.<\/li>\n\n\n\n<li>Select a version from the drop-down menu. <figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"542\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-php-version-switcher-v2-1024x542.png\" alt=\"Control Web Panel PHP Version Switcher\" class=\"wp-image-97170\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-php-version-switcher-v2-1024x542.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-php-version-switcher-v2-300x159.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-php-version-switcher-v2-768x406.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-php-version-switcher-v2.png 1083w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure><\/li>\n\n\n\n<li>A list of available PHP modules will pop up below. The default options will suffice for most use cases. Unselected options you may need depending on software installed include ioncube (for WHMCS), mongodb, and redis. <figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"610\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-php-version-switcher-v2-extensions-1024x610.png\" alt=\"Install PHP extensions in Control Web Panel (CWP)\" class=\"wp-image-97169\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-php-version-switcher-v2-extensions-1024x610.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-php-version-switcher-v2-extensions-300x179.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-php-version-switcher-v2-extensions-768x457.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-php-version-switcher-v2-extensions.png 1085w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure><\/li>\n\n\n\n<li>After customizing your PHP build, select <strong>Save &amp; Build<\/strong> at the bottom.<\/li>\n<\/ol>\n\n\n\n<p>The page will refresh with a progress bar while compiling PHP in the background. This may take over thirty (30) minutes depending on your CWP server\u2019s performance capabilities. You can select <strong>View log<\/strong> to check the PHP installation process. You can also find the same info from the CWP terminal with the following command:<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\">tail -f \/var\/log\/php-rebuild.log<\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"multiple\">Install Multiple PHP Versions<\/h3>\n\n\n\n<p>Administrators with a <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/upgrade-move-cwppro\/\">CWPpro license<\/a> can install different PHP versions within CWP.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>On the left, select <strong>PHP Selector<\/strong>.<\/li>\n\n\n\n<li>Major PHP versions will be listed. To the right of each major is a drop-down menu to specify a minor PHP version to install and links to modify PHP options (extensions). Make a selection in every drop-down menu for major PHP versions you wish to install.<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"559\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-php-selector-v2-1024x559.png\" alt=\"Install multiple PHP versions in control Web Panel (CWPpro)\" class=\"wp-image-97168\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-php-selector-v2-1024x559.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-php-selector-v2-300x164.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-php-selector-v2-768x419.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-php-selector-v2.png 1311w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure><\/li>\n\n\n\n<li>Select <strong>Start Compiler (build &amp; install)<\/strong>.<\/li>\n<\/ol>\n\n\n\n<p class=\"alert alert-info\">Non-CWPpro users needing multiple PHP versions can try <a href=\"https:\/\/www.inmotionhosting.com\/support\/product-guides\/cloud-server\/how-to-install-php\/\">installing them from CWP terminal<\/a>, but you\u2019ll also have to manage it there.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"selector\">Set Multiple PHP versions with PHP Selector<\/h2>\n\n\n\n<p>CWPpro end users can change PHP versions per domain. The process is pretty straightforward.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>On the left, select <strong>CWP Settings<\/strong> &gt; <strong>Php Selector<\/strong>.<\/li>\n\n\n\n<li>Choose a domain from the drop-down menu.<figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-php-selector-1024x298.png\" alt=\"Choose a PHP version for a domain in Control Web Panel (CWPpro)\" class=\"wp-image-97164\"><\/figure><\/li>\n\n\n\n<li>Select from the available PHP versions.<\/li>\n\n\n\n<li>Select <strong>Update Version<\/strong>.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"manual\">Manually Set Multiple PHP Versions\u00a0<\/h3>\n\n\n\n<p>Users not on a CWPpro server will still be able to see the PHP Selector. However, you won\u2019t be able to make changes and there will be an alert stating \u201cYou need a CWPPRO license to use this module. Contact your server administrator.\u201d\u00a0<\/p>\n\n\n\n<p>We recommend Non-CWPpro users (on an Apache web server) ask your server administrator to install the PHP versions you need so that you can set <a href=\"https:\/\/www.inmotionhosting.com\/support\/website\/multiple-php-versions\/\">multiple PHP versions in .htaccess<\/a>. You can edit this file from <strong>File Management<\/strong> &gt; <strong>File Manager<\/strong>. You can also do this in the command-line interface (CLI) if shell access is enabled for your user account.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"edit\">Edit PHP.ini in CWP<\/h2>\n\n\n\n<p>Even with the correct PHP version you may need to make further changes for optimal PHP application performance. This section covers how to customize your PHP configuration file in CWP.<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>On the left, select <strong>CWP Settings<\/strong> &gt; <strong>Edit php.ini<\/strong>.<\/li>\n\n\n\n<li>Select a domain from the top if you have more than one under the account.<\/li>\n\n\n\n<li>Make changes as needed. The most commonly modified attributes are upload_max_filesize, memory_limit, and max_execution_time. Also, display_errors should be set to \u201cOff,\u201d unless you\u2019re troubleshooting development issues. <figure class=\"wp-block-image size-large\"><img decoding=\"async\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-php-ini-user-1024x622.png\" alt=\"Control Web Panel php.ini editor\" class=\"wp-image-97165\"><\/figure><\/li>\n\n\n\n<li>Once you\u2019re finished making changes, select <strong>Update changes<\/strong> on the right.<\/li>\n\n\n\n<li>(Optional) To add more custom changes, select <strong>Advanced Editor<\/strong> to edit the raw php.ini file.<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"585\" height=\"360\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-php-ini-user-advanced.png\" alt=\"Advanced php.ini editor in Control Web Panel\" class=\"wp-image-97166\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-php-ini-user-advanced.png 585w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-php-ini-user-advanced-300x185.png 300w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure> Select <strong>Save<\/strong> on the right once you\u2019re done.<\/li>\n<\/ol>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"phpinfo\">Create a PHPInfo.php File<\/h3>\n\n\n\n<p>To ensure your configuration works, you can create a phpinfo.php file.\u00a0<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li>From the user panel, select <strong>File Management<\/strong> &gt; <strong>File Manager<\/strong>.<\/li>\n\n\n\n<li>Use the left-hand sidebar and navigate to the root directory for your website.<\/li>\n\n\n\n<li>At the top, select <strong>File<\/strong>, and type a PHP file name. \u201cphpinfo.php\u201d is a common name but it can be named anything with a \u201c.php\u201d extension.<\/li>\n\n\n\n<li>Click <strong>Save<\/strong>.\u00a0<\/li>\n\n\n\n<li>Select the third (edit) button under the \u201cActions\u201d column for the new PHP file.<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"233\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-user-terminal-phpinfo-edit-1024x233.png\" alt=\"Edit phpinfo.php in Control Web Panel (CWP) File Manager\" class=\"wp-image-97163\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-user-terminal-phpinfo-edit-1024x233.png 1024w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-user-terminal-phpinfo-edit-300x68.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-user-terminal-phpinfo-edit-768x175.png 768w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-user-terminal-phpinfo-edit.png 1189w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure><\/li>\n\n\n\n<li>Add the following code block:<pre>&lt;? phpinfo(); ?&gt;<\/pre><figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"926\" height=\"132\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-user-terminal-phpinfo-file.png\" alt=\"Add PHP info code in Control Web Panel File Manager\" class=\"wp-image-97167\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-user-terminal-phpinfo-file.png 926w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-user-terminal-phpinfo-file-300x43.png 300w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-user-terminal-phpinfo-file-768x109.png 768w\" sizes=\"auto, (min-width: 1360px) 876px, (min-width: 960px) calc(61.58vw + 51px), calc(100vw - 80px)\" \/><\/figure><\/li>\n\n\n\n<li>Click <strong>Save<\/strong> on the right.<\/li>\n\n\n\n<li>Visit the PHP info page in your browser.<\/li>\n<\/ol>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"814\" height=\"396\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2011\/11\/php_create-php-info-page_this-is-what-a-phpinfo-file-loos-like.gif\" alt=\"Create phpinfo Page\" class=\"wp-image-5297\"><\/figure>\n\n\n\n<p>Let us know if you have questions about configuring PHP on your <a href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/\">CWP server<\/a>.<\/p>\n\n\n<div class=\"jumbotron\">Make sure your business, agency, or reseller clients are always connected and powered on with our optimized <a href=\"https:\/\/www.inmotionhosting.com\/vps-hosting\">Managed VPS Hosting<\/a>.<\/div>\n","protected":false},"excerpt":{"rendered":"<p>PHP is a popular programming language for dynamic site generation and integrating databases into web applications. Notable examples include the WordPress content management system (CMS), WHMCS billing system, PHP app hosting, and Nextcloud personal cloud storage solution. This high popularity results in a frequent need to upgrade or simply change PHP versions. A new version<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/\"> Read More ><\/a><\/p>\n","protected":false},"author":57014,"featured_media":97171,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4586],"tags":[],"class_list":["post-97173","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-user-and-account-management"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Change PHP Version in Control Web Panel (CWP) | InMotion Hosting<\/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:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Change PHP Version in Control Web Panel (CWP) | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"PHP is a popular programming language for dynamic site generation and integrating databases into web applications. Notable examples include the WordPress content management system (CMS), WHMCS billing system, PHP app hosting, and Nextcloud personal cloud storage solution. This high popularity results in a frequent need to upgrade or simply change PHP versions. A new version Read More &gt;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/\" \/>\n<meta property=\"og:site_name\" content=\"InMotion Hosting Support Center\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/inmotionhosting\/\" \/>\n<meta property=\"article:published_time\" content=\"2022-05-24T23:51:48+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-06-04T16:35:38+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-change-php-version.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"author\" content=\"InMotion Hosting Contributor\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@https:\/\/twitter.com\/InMotionHosting\" \/>\n<meta name=\"twitter:site\" content=\"@InMotionHosting\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"InMotion Hosting Contributor\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"6 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\"},\"headline\":\"Change PHP Version in Control Web Panel (CWP)\",\"datePublished\":\"2022-05-24T23:51:48+00:00\",\"dateModified\":\"2024-06-04T16:35:38+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/\"},\"wordCount\":820,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-change-php-version.jpg\",\"articleSection\":[\"User and Account Management\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/\",\"name\":\"Change PHP Version in Control Web Panel (CWP) | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-change-php-version.jpg\",\"datePublished\":\"2022-05-24T23:51:48+00:00\",\"dateModified\":\"2024-06-04T16:35:38+00:00\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-change-php-version.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-change-php-version.jpg\",\"width\":1200,\"height\":630,\"caption\":\"Change PHP Version in Control Web Panel - PHP Version Switcher & PHP Selector\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Change PHP Version in Control Web Panel (CWP)\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"name\":\"InMotion Hosting Support Center\",\"description\":\"Web Hosting Support &amp; Tutorials\",\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\",\"name\":\"InMotion Hosting\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg\",\"width\":696,\"height\":696,\"caption\":\"InMotion Hosting\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/inmotionhosting\/\",\"https:\/\/x.com\/InMotionHosting\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644\",\"name\":\"InMotion Hosting Contributor\",\"description\":\"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!\",\"sameAs\":[\"https:\/\/www.linkedin.com\/company\/inmotion-hosting\/\",\"https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting\"],\"url\":\"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Change PHP Version in Control Web Panel (CWP) | InMotion Hosting","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:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/","og_locale":"en_US","og_type":"article","og_title":"Change PHP Version in Control Web Panel (CWP) | InMotion Hosting","og_description":"PHP is a popular programming language for dynamic site generation and integrating databases into web applications. Notable examples include the WordPress content management system (CMS), WHMCS billing system, PHP app hosting, and Nextcloud personal cloud storage solution. This high popularity results in a frequent need to upgrade or simply change PHP versions. A new version Read More >","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2022-05-24T23:51:48+00:00","article_modified_time":"2024-06-04T16:35:38+00:00","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-change-php-version.jpg","type":"image\/jpeg"}],"author":"InMotion Hosting Contributor","twitter_card":"summary_large_image","twitter_creator":"@https:\/\/twitter.com\/InMotionHosting","twitter_site":"@InMotionHosting","twitter_misc":{"Written by":"InMotion Hosting Contributor","Est. reading time":"6 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644"},"headline":"Change PHP Version in Control Web Panel (CWP)","datePublished":"2022-05-24T23:51:48+00:00","dateModified":"2024-06-04T16:35:38+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/"},"wordCount":820,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-change-php-version.jpg","articleSection":["User and Account Management"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/","name":"Change PHP Version in Control Web Panel (CWP) | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-change-php-version.jpg","datePublished":"2022-05-24T23:51:48+00:00","dateModified":"2024-06-04T16:35:38+00:00","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-change-php-version.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-change-php-version.jpg","width":1200,"height":630,"caption":"Change PHP Version in Control Web Panel - PHP Version Switcher & PHP Selector"},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/change-php-version-in-control-web-panel-cwp\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Change PHP Version in Control Web Panel (CWP)"}]},{"@type":"WebSite","@id":"https:\/\/www.inmotionhosting.com\/support\/#website","url":"https:\/\/www.inmotionhosting.com\/support\/","name":"InMotion Hosting Support Center","description":"Web Hosting Support &amp; Tutorials","publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.inmotionhosting.com\/support\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.inmotionhosting.com\/support\/#organization","name":"InMotion Hosting","url":"https:\/\/www.inmotionhosting.com\/support\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2023\/02\/inmotion-hosting-logo-yoast.jpg","width":696,"height":696,"caption":"InMotion Hosting"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/inmotionhosting\/","https:\/\/x.com\/InMotionHosting"]},{"@type":"Person","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/f9a4fc454cd1df128ee8e898d30d4644","name":"InMotion Hosting Contributor","description":"InMotion Hosting contributors are highly knowledgeable individuals who create relevant content on new trends and troubleshooting techniques to help you achieve your online goals!","sameAs":["https:\/\/www.linkedin.com\/company\/inmotion-hosting\/","https:\/\/x.com\/https:\/\/twitter.com\/InMotionHosting"],"url":"https:\/\/www.inmotionhosting.com\/support\/author\/inmotion-hosting-contributor\/"}]}},"jetpack_featured_media_url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2022\/05\/cwp-change-php-version.jpg","jetpack_sharing_enabled":true,"primary_category":{"id":4586,"name":"User and Account Management","slug":"user-and-account-management","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/control-web-panel\/cwp-admin\/user-and-account-management\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/97173","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/users\/57014"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=97173"}],"version-history":[{"count":12,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/97173\/revisions"}],"predecessor-version":[{"id":105468,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/97173\/revisions\/105468"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media\/97171"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=97173"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=97173"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=97173"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}