{"id":4247,"date":"2017-11-30T02:20:41","date_gmt":"2017-11-30T02:20:41","guid":{"rendered":"https:\/\/www.inmotionhosting.com\/support\/2017\/11\/30\/installing-suphp-with-mod-suphp-using-easyapache-4\/"},"modified":"2021-08-16T22:29:46","modified_gmt":"2021-08-17T02:29:46","slug":"installing-suphp-with-mod-suphp-using-easyapache-4","status":"publish","type":"post","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/","title":{"rendered":"Installing suPHP with mod_suphp using EasyApache 4"},"content":{"rendered":"<div class=\"in_this_tutorial\">\n<h2>In This Tutorial:<\/h2>\n<p><a class=\"btn btn-primary\" href=\"#install-suphp\" type=\"button\">Install suPHP<\/a> <a class=\"btn btn-primary\" href=\"#change-php-handler\" type=\"button\">Change PHP Handler<\/a> <a class=\"btn btn-primary\" href=\"#confirm-changes\" type=\"button\">Confirm Changes<\/a><\/p>\n<\/div>\n<p><strong>suPHP<\/strong> is one of a few <a href=\"\/support\/website\/choosing-the-best-php-handler\/\" target=\"_blank\" title=\"Click here to navigate to our guide and learn more about PHP Handlers available to choose from\" rel=\"noopener noreferrer\">PHP Handlers availble to choose from<\/a>. suPHP runs as a CGI module and its major benefits are stronger security and easy permissions management. In this guide, you will learn <strong>how to install suPHP with mod_suphp using EasyApache 4<\/strong>.<\/p>\n<div class=\"alert alert-danger\" role=\"alert\">\n<p><b>NOTE: <\/b>A <a href=\"https:\/\/www.inmotionhosting.com\/vps-hosting\" target=\"_blank\" title=\"Click here to navigate to our website to learn more about the available VPS packages\" rel=\"noopener noreferrer\">VPS<\/a> or <a href=\"https:\/\/www.inmotionhosting.com\/dedicated-servers\" target=\"_blank\" title=\"Click here to navigate to our website to learn more about the available Dedicated Server packages\" rel=\"noopener noreferrer\">Dedicated Server<\/a> with <a href=\"\/support\/amp\/obtain-root-access\/\" target=\"_blank\" title=\"Click here to navigate to our guide to learn how to obtain root access\" rel=\"noopener noreferrer\">root access<\/a> is required to follow the steps in this guide.<\/p>\n<\/div>\n<p><a name=\"install-suphp\"><\/a><\/p>\n<h2>Installing suPHP<\/h2>\n<ol class=\"article_list\">\n<li> <a href=\"\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_whm-root-login.png\" rel=\"lightbox-0\"><\/a><a href=\"\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_whm-root-login.png\" rel=\"lightbox-0\"><img decoding=\"async\" width=\"303\" height=\"330\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_whm-root-login.png\" class=\"optimized-lcp-image\" alt=\"WHM login screen, Username root, Password field filled, and Log in button highlighted\" loading=\"eager\" fetchpriority=\"high\" sizes=\"(max-width: 768px) 100vw, 768px\" srcset=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_whm-root-login.png 303w, https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_whm-root-login-275x300.png 275w\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<div style=\"clear:both;\"><\/div>\n<p><a href=\"\/support\/edu\/whm\/log-into-whm\/\" target=\"_blank\" title=\"Click here to navigate to our guide and learn how to log into WHM\" rel=\"noopener noreferrer\">Log into WHM<\/a> as root.<\/p>\n<div style=\"clear:both;\"><\/div>\n<\/li>\n<li> <a href=\"\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_whm-search-easy.png\" rel=\"lightbox-0\"><img decoding=\"async\" align=\"right\" alt=\"easy entered into WHM search field\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_whm-search-easy.png\" title=\"Click to enlarge this screenshot image.\" width=\"150\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Type \u2018<b>easy<\/b>\u2018 into the search field in the top left of WHM.<\/p>\n<div style=\"clear:both;\"><\/div>\n<\/li>\n<li> <a href=\"\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_whm-easyapache-4-menu-option.png\" rel=\"lightbox-0\"><img decoding=\"async\" align=\"right\" alt=\"WHM Software EasyApache 4 menu option highlighted\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_whm-easyapache-4-menu-option.png\" title=\"Click to enlarge this screenshot image.\" width=\"150\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Under the <i>Software<\/i> category, click on <b>EasyApache 4<\/b>.<\/p>\n<div style=\"clear:both;\"><\/div>\n<\/li>\n<li> <a href=\"\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_ea4-currently-installed-packages-customize-button.png\" rel=\"lightbox-0\"><img decoding=\"async\" align=\"right\" alt=\"EA4 Currently Installed Packages Customize button highlighted\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_ea4-currently-installed-packages-customize-button.png\" title=\"Click to enlarge this screenshot image.\" width=\"200\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>In the <i>Currently Installed Packages<\/i> section, click on the <b>Customize<\/b> button.<\/p>\n<div style=\"clear:both;\"><\/div>\n<\/li>\n<li> <a href=\"\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_apache-mpm-mod-mpm-prefork.png\" rel=\"lightbox-0\"><img decoding=\"async\" align=\"right\" alt=\"Apache MPM mod_mpm_prefork selected and toggle highlighted\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_apache-mpm-mod-mpm-prefork.png\" title=\"Click to enlarge this screenshot image.\" width=\"200\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Click on the toggle button next to <b>mod_mpm_prefork<\/b>.<\/p>\n<div style=\"clear:both;\"><\/div>\n<p><a href=\"\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_apache-mpm-package-selection-warning-message.png\" rel=\"lightbox-0\"><img decoding=\"async\" align=\"right\" alt=\"Apache MPM package selection conflict warning message\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_apache-mpm-package-selection-warning-message.png\" title=\"Click to enlarge this screenshot image.\" width=\"200\"><\/a><\/p>\n<div style=\"clear:both;\"><\/div>\n<p>If prompted with a warning message, review the conflicts and click the <b>Yes<\/b> button to proceed.<\/p>\n<div style=\"clear:both;\"><\/div>\n<p><a href=\"\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_apache-mpm-mod-mpm-prefork-installed-icon.png\" rel=\"lightbox-0\"><img decoding=\"async\" align=\"right\" alt=\"Apache MPM mod_mpm_prefork green Installed icon highlighted\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_apache-mpm-mod-mpm-prefork-installed-icon.png\" title=\"Click to enlarge this screenshot image.\" width=\"200\"><\/a><\/p>\n<div style=\"clear:both;\"><\/div>\n<div style=\"clear:both;\"><\/div>\n<div class=\"alert alert-success\" role=\"alert\"><b>NOTE: <\/b>If <i>mod_mpm_prefork<\/i> is already selected, a green icon labeled <i>Installed<\/i> will appear next to the option. If it is already installed, there is no need to click the toggle button to enable it. Simply proceed to the next step.<\/div>\n<\/li>\n<li> <a href=\"\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_apache-mpm-next-button.png\" rel=\"lightbox-0\"><img decoding=\"async\" align=\"right\" alt=\"Apache MPM section Next button highlighted\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_apache-mpm-next-button.png\" title=\"Click to enlarge this screenshot image.\" width=\"150\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Click the <b>Next<\/b> button to proceed.<\/p>\n<div style=\"clear:both;\"><\/div>\n<\/li>\n<li> <a href=\"\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_apache-modules-search-field-mod-suphp.png\" rel=\"lightbox-0\"><img decoding=\"async\" align=\"right\" alt=\"Apache Modules Search field contains mod_suphp and is highlighted\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_apache-modules-search-field-mod-suphp.png\" title=\"Click to enlarge this screenshot image.\" width=\"150\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Under the <i>Apache Modules<\/i> section, in the <b>Search<\/b> field, type <i>mod_suphp<\/i>.<\/p>\n<div style=\"clear:both;\"><\/div>\n<\/li>\n<li> <a href=\"\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_apache-modules-mod-suphp-toggle-button.png\" rel=\"lightbox-0\"><img decoding=\"async\" align=\"right\" alt=\"Apache Modules mod_suphp toggle button highlighted\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_apache-modules-mod-suphp-toggle-button.png\" title=\"Click to enlarge this screenshot image.\" width=\"150\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Click on the toggle button next to <i>mod_suphp<\/i> to select it to be installed.<\/p>\n<div style=\"clear:both;\"><\/div>\n<\/li>\n<li> <a href=\"\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_apache-modules-next-button.png\" rel=\"lightbox-0\"><img decoding=\"async\" align=\"right\" alt=\"Apache Modules section Next button highlighted\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_apache-modules-next-button.png\" title=\"Click to enlarge this screenshot image.\" width=\"150\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Click the <b>Next<\/b> button to proceed.<\/p>\n<div style=\"clear:both;\"><\/div>\n<\/li>\n<li> <a href=\"\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_php-versions-toggle-buttons.png\" rel=\"lightbox-0\"><img decoding=\"async\" align=\"right\" alt=\"PHP Versions toggle buttons highlighted\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_php-versions-toggle-buttons.png\" title=\"Click to enlarge this screenshot image.\" width=\"150\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Select the version(s) of PHP you want to install by clicking on the toggle button next to it.<\/p>\n<div style=\"clear:both;\"><\/div>\n<\/li>\n<li> <a href=\"\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_php-versions-next-button.png\" rel=\"lightbox-0\"><img decoding=\"async\" align=\"right\" alt=\"PHP Versions section Next button highlighted\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_php-versions-next-button.png\" title=\"Click to enlarge this screenshot image.\" width=\"150\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Click the <b>Next<\/b> button to proceed.<\/p>\n<div style=\"clear:both;\"><\/div>\n<\/li>\n<li> <a href=\"\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_php-extensions-next-button.png\" rel=\"lightbox-0\"><img decoding=\"async\" align=\"right\" alt=\"PHP Extensions section Next button highlighted\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_php-extensions-next-button.png\" title=\"Click to enlarge this screenshot image.\" width=\"150\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p><i>OPTIONAL: <\/i>Select the PHP Extensions you would like installed. Note that you will need to select the extension for <u>each PHP version<\/u> you would like it installed for. Once you have completed your selection, click the <b>Next<\/b> button to proceed.<\/p>\n<div style=\"clear:both;\"><\/div>\n<\/li>\n<li> <a href=\"\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_ruby-via-passenger-modules-next-button.png\" rel=\"lightbox-0\"><img decoding=\"async\" align=\"right\" alt=\"Ruby via Passenger section Next button highlighted\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_ruby-via-passenger-modules-next-button.png\" title=\"Click to enlarge this screenshot image.\" width=\"150\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p><i>OPTIONAL: <\/i>Select the Ruby via Passenger modules you would like installed. Once you have completed your selection, click the <b>Next<\/b> button to proceed.<\/p>\n<div style=\"clear:both;\"><\/div>\n<\/li>\n<li> <a href=\"\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_review-provision-button.png\" rel=\"lightbox-0\"><img decoding=\"async\" align=\"right\" alt=\"Review section Provision button highlighted\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_review-provision-button.png\" title=\"Click to enlarge this screenshot image.\" width=\"150\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Your selected packages will be reviewed to ensure conflicts do not exist. After the results display, review them yourself and then click on the <b>Provision<\/b> button at the bottom of the page to save your selections and provision the package as configured.<\/p>\n<div style=\"clear:both;\"><\/div>\n<\/li>\n<li>            Once provisioning completes, you will see a green status message. Click on the <b>Done<\/b> button to close your EasyApache 4 session.<\/li>\n<\/ol>\n<p><a name=\"change-php-handler\"><\/a><\/p>\n<h2>Change PHP Handler<\/h2>\n<p>If you provisioned multiple versions of PHP, additional configuration may be necessary to run suPHP for those PHP versions. Follow the steps below to ensure that all your PHP versions are configured to suPHP handlers.<\/p>\n<ol class=\"article_list\">\n<li> <a href=\"\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_whm-root-login.png\" rel=\"lightbox-0\"><\/a><a href=\"\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_whm-root-login.png\" rel=\"lightbox-0\"><img decoding=\"async\" align=\"right\" alt=\"WHM login screen, Username root, Password field filled, and Log in button highlighted\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_whm-root-login.png\" title=\"Click to enlarge this screenshot image.\" width=\"150\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<div style=\"clear:both;\"><\/div>\n<p><a href=\"\/support\/edu\/whm\/log-into-whm\/\" target=\"_blank\" title=\"Click here to navigate to our guide and learn how to log into WHM\" rel=\"noopener noreferrer\">Log into WHM<\/a> as root.<\/p>\n<div style=\"clear:both;\"><\/div>\n<\/li>\n<li> <a href=\"\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_whm-search-multiphp.png\" rel=\"lightbox-0\"><img decoding=\"async\" align=\"right\" alt=\"WHM Search field contains multiphp and highlighted\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_whm-search-multiphp.png\" title=\"Click to enlarge this screenshot image.\" width=\"150\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Type \u2018<b>multiphp<\/b>\u2018 into the search field in the top left of WHM.<\/p>\n<div style=\"clear:both;\"><\/div>\n<\/li>\n<li> <a href=\"\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_whm-multiphp-menu-option.png\" rel=\"lightbox-0\"><img decoding=\"async\" align=\"right\" alt=\"WHM MultiPHP Manager menu option highlighted\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_whm-multiphp-menu-option.png\" title=\"Click to enlarge this screenshot image.\" width=\"150\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Under the <i>Software<\/i> category, click on <b>MultiPHP Manager<\/b>.<\/p>\n<div style=\"clear:both;\"><\/div>\n<\/li>\n<li> <a href=\"\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_multiphp-manager-php-handlers-tab.png\" rel=\"lightbox-0\"><img decoding=\"async\" align=\"right\" alt=\"MultiPHP Manager PHP Handlers tab highlighted\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_multiphp-manager-php-handlers-tab.png\" title=\"Click to enlarge this screenshot image.\" width=\"150\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Click on the <b>PHP Handlers<\/b> tab.<\/p>\n<div style=\"clear:both;\"><\/div>\n<\/li>\n<li> <a href=\"\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_php-handler-edit-button.png\" rel=\"lightbox-0\"><img decoding=\"async\" align=\"right\" alt=\"PHP Handler Edit link highlighted\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_php-handler-edit-button.png\" title=\"Click to enlarge this screenshot image.\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Next to the PHP version, select <b>Edit<\/b> under the <i>Actions<\/i> column.<\/p>\n<div style=\"clear:both;\"><\/div>\n<\/li>\n<li> <a href=\"\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_php-handler-selection-suphp.png\" rel=\"lightbox-0\"><img decoding=\"async\" align=\"right\" alt=\"PHP Handler drop-down menu suphp selection highlighted\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_php-handler-selection-suphp.png\" title=\"Click to enlarge this screenshot image.\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Select <b>suphp<\/b> from the drop-down menu under the <i>PHP Handler<\/i> column.<\/p>\n<div style=\"clear:both;\"><\/div>\n<\/li>\n<li> <a href=\"\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_php-handler-apply-button.png\" rel=\"lightbox-0\"><img decoding=\"async\" align=\"right\" alt=\"PHP Handler Apply button highlighted\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_php-handler-apply-button.png\" title=\"Click to enlarge this screenshot image.\"><\/a>\n<div style=\"clear:both;\"><\/div>\n<p>Finally, click the <b>Apply<\/b> button.<\/p>\n<div style=\"clear:both;\"><\/div>\n<\/li>\n<p><a href=\"\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_php-handler-successful-pop-up-message.png\" rel=\"lightbox-0\"><img decoding=\"async\" align=\"right\" alt=\"PHP Handler successful status message displayed\" class=\"std_ss\" src=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_php-handler-successful-pop-up-message.png\" title=\"Click to enlarge this screenshot image.\"><\/a><\/p>\n<div style=\"clear:both;\"><\/div>\n<p>A green status message should appear to confirm the changes were saved.<\/p>\n<div style=\"clear:both;\"><\/div>\n<\/ol>\n<p><a name=\"confirm-changes\"><\/a><\/p>\n<h2>Confirm PHP Handler<\/h2>\n<p>Once you have finished provisioning and setting the PHP handlers for each PHP version, you can confirm the handler(s) set. The instructions below will guide you through the process of confirming the current PHP versions\/handlers.<\/p>\n<ol class=\"article_list\">\n<li>            Connect to your server as root via an <a href=\"\/support\/server\/ssh\/how-to-login-ssh\/\" target=\"_blank\" title=\"Click here to navigate to our guide to learn how to use SSH\" rel=\"noopener noreferrer\">SSH connection<\/a>.<\/li>\n<li>Run the following command:\n<p class=\"code_block\">\/usr\/local\/cpanel\/bin\/rebuild_phpconf \u2013current<\/p>\n<\/li>\n<\/ol>\n<p>You should see the following output after running that command:<\/p>\n<pre class=\"cli\">root@localhost ~ $ \/usr\/local\/cpanel\/bin\/rebuild_phpconf --current \nDEFAULT PHP: ea-php70\nea-php70 SAPI:suphp\nea-php71 SAPI:suphp<\/pre>\n<p>Congratulations! You have completed setting your PHP Handlers to suPHP.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In This Tutorial: Install suPHP Change PHP Handler Confirm Changes suPHP is one of a few PHP Handlers availble to choose from. suPHP runs as a CGI module and its major benefits are stronger security and easy permissions management. In this guide, you will learn how to install suPHP with mod_suphp using EasyApache 4. NOTE:<a class=\"moretag\" href=\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/\"> Read More ><\/a><\/p>\n","protected":false},"author":3,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_acf_changed":false,"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[4302],"tags":[],"class_list":["post-4247","post","type-post","status-publish","format-standard","hentry","category-easyapache"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.1.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Installing suPHP with mod_suphp using EasyApache 4 | InMotion Hosting<\/title>\n<meta name=\"description\" content=\"In this guide, you will learn how to install suPHP with mod_suphp using EasyApache 4.\" \/>\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\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Installing suPHP with mod_suphp using EasyApache 4 | InMotion Hosting\" \/>\n<meta property=\"og:description\" content=\"In this guide, you will learn how to install suPHP with mod_suphp using EasyApache 4.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/\" \/>\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=\"2017-11-30T02:20:41+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-08-17T02:29:46+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_whm-root-login.png\" \/>\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=\"3 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\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/\"},\"author\":{\"name\":\"InMotion Hosting Contributor\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5fbfcaed32a2672fb83ab312f5b7237b\"},\"headline\":\"Installing suPHP with mod_suphp using EasyApache 4\",\"datePublished\":\"2017-11-30T02:20:41+00:00\",\"dateModified\":\"2021-08-17T02:29:46+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/\"},\"wordCount\":562,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_whm-root-login.png\",\"articleSection\":[\"EasyApache\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/\",\"name\":\"Installing suPHP with mod_suphp using EasyApache 4 | InMotion Hosting\",\"isPartOf\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_whm-root-login.png\",\"datePublished\":\"2017-11-30T02:20:41+00:00\",\"dateModified\":\"2021-08-17T02:29:46+00:00\",\"description\":\"In this guide, you will learn how to install suPHP with mod_suphp using EasyApache 4.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/#primaryimage\",\"url\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_whm-root-login.png\",\"contentUrl\":\"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_whm-root-login.png\",\"width\":303,\"height\":330,\"caption\":\"Click to enlarge this screenshot image.\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.inmotionhosting.com\/support\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Installing suPHP with mod_suphp using EasyApache 4\"}]},{\"@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\/5fbfcaed32a2672fb83ab312f5b7237b\",\"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\/john-paul\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Installing suPHP with mod_suphp using EasyApache 4 | InMotion Hosting","description":"In this guide, you will learn how to install suPHP with mod_suphp using EasyApache 4.","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\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/","og_locale":"en_US","og_type":"article","og_title":"Installing suPHP with mod_suphp using EasyApache 4 | InMotion Hosting","og_description":"In this guide, you will learn how to install suPHP with mod_suphp using EasyApache 4.","og_url":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/","og_site_name":"InMotion Hosting Support Center","article_publisher":"https:\/\/www.facebook.com\/inmotionhosting\/","article_published_time":"2017-11-30T02:20:41+00:00","article_modified_time":"2021-08-17T02:29:46+00:00","og_image":[{"url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_whm-root-login.png","type":"","width":"","height":""}],"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":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/#article","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/"},"author":{"name":"InMotion Hosting Contributor","@id":"https:\/\/www.inmotionhosting.com\/support\/#\/schema\/person\/5fbfcaed32a2672fb83ab312f5b7237b"},"headline":"Installing suPHP with mod_suphp using EasyApache 4","datePublished":"2017-11-30T02:20:41+00:00","dateModified":"2021-08-17T02:29:46+00:00","mainEntityOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/"},"wordCount":562,"commentCount":0,"publisher":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#organization"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_whm-root-login.png","articleSection":["EasyApache"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/","url":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/","name":"Installing suPHP with mod_suphp using EasyApache 4 | InMotion Hosting","isPartOf":{"@id":"https:\/\/www.inmotionhosting.com\/support\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/#primaryimage"},"image":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/#primaryimage"},"thumbnailUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_whm-root-login.png","datePublished":"2017-11-30T02:20:41+00:00","dateModified":"2021-08-17T02:29:46+00:00","description":"In this guide, you will learn how to install suPHP with mod_suphp using EasyApache 4.","breadcrumb":{"@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/#primaryimage","url":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_whm-root-login.png","contentUrl":"https:\/\/www.inmotionhosting.com\/support\/wp-content\/uploads\/2017\/11\/whm-edu_easyapache-4_ea4-install-suphp_whm-root-login.png","width":303,"height":330,"caption":"Click to enlarge this screenshot image."},{"@type":"BreadcrumbList","@id":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/installing-suphp-with-mod-suphp-using-easyapache-4\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.inmotionhosting.com\/support\/"},{"@type":"ListItem","position":2,"name":"Installing suPHP with mod_suphp using EasyApache 4"}]},{"@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\/5fbfcaed32a2672fb83ab312f5b7237b","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\/john-paul\/"}]}},"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"primary_category":{"id":4302,"name":"EasyApache","slug":"easyapache","link":"https:\/\/www.inmotionhosting.com\/support\/edu\/easyapache\/"},"_links":{"self":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4247","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\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/comments?post=4247"}],"version-history":[{"count":3,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4247\/revisions"}],"predecessor-version":[{"id":83819,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/posts\/4247\/revisions\/83819"}],"wp:attachment":[{"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/media?parent=4247"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/categories?post=4247"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.inmotionhosting.com\/support\/wp-json\/wp\/v2\/tags?post=4247"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}