{"id":30004,"date":"2021-01-18T02:49:59","date_gmt":"2021-01-17T18:49:59","guid":{"rendered":"https:\/\/web.mwwsb.com.my\/pjci\/?post_type=kb&p=30004"},"modified":"2022-09-08T21:33:40","modified_gmt":"2022-09-08T13:33:40","slug":"how-to-change-php-versions-on-cpanel","status":"publish","type":"kb","link":"https:\/\/www.casbay.com\/guide\/kb\/how-to-change-php-versions-on-cpanel","title":{"rendered":"HOW TO: Change PHP versions on cPanel"},"content":{"rendered":"\t\t
\n\t\t\t\t\t\t\t\t\t
\n\t\t\t\t\t\t
\n\t\t\t\t\t
\n\t\t\t
\n\t\t\t\t\t\t\t\t
\n\t\t\t\t
\n\t\t\t

PHP Versions & Server Types<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t

We install the latest PHP versions on our cPanel-based WordPress servers. If you have a VPS<\/a> or Dedicated Server<\/a>, you may need to install the newer PHP versions manually. If you need help, do not hesitate to reach our 24\/7 Technical Support<\/a> team anytime!<\/p>\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t

\n\t\t\t\t
\n\t\t\t

Changing the PHP version<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t**Note:<\/b> Before you change PHP version of your website make sure that your web application\/website is compatible with target PHP version.\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t1. Firstly, log in to cPanel -> Click on “Select PHP Version”<\/b>.\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"\"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t2. Next, select the preferred\/ required PHP version.\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t\"\"\t\t\t\t\t\t\t\t\t\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t3. Lastly, click on \u201cSet as current\u201d<\/b> and then on Save<\/b> to store your changes.\t\t\t\t\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t

Changing the PHP settings<\/h2>\t\t<\/div>\n\t\t\t\t<\/div>\n\t\t\t\t
\n\t\t\t\t
\n\t\t\t\t\t\t\t
    \n \t
  1. Firstly, login to cPanel.<\/li>\n
    \n
  2. Then, click on Select PHP Version<\/b> under SOFTWARE<\/b> section in the home screen.<\/li>\n\nNote that some servers may not support this feature.<\/i>\n

    \n
  3. Next, select which extensions you want to enable for the current PHP version, the selections are saved automatically.<\/li>\n
    \n
  4. To modify settings for current PHP version:

    \n