{"id":2660,"date":"2018-11-21T12:08:41","date_gmt":"2018-11-21T06:38:41","guid":{"rendered":"https:\/\/www.nettigritty.com\/kb\/?p=2660"},"modified":"2018-11-21T12:08:41","modified_gmt":"2018-11-21T06:38:41","slug":"whm-tutorials-multiphp-manager-apache-php","status":"publish","type":"post","link":"https:\/\/www.nettigritty.com\/kb\/whm\/whm-tutorials-multiphp-manager-apache-php\/","title":{"rendered":"WHM Tutorials &#8211; MultiPHP Manager &#8211; Apache PHP"},"content":{"rendered":"<p>This video shows you how to edit the Apache PHP settings in the MultiPHP Manager interface in WHM, for cPanel &#038; WHM version 76.<\/p>\n<p><iframe loading=\"lazy\" title=\"WHM Tutorials - MultiPHP Manager\" width=\"500\" height=\"281\" src=\"https:\/\/www.youtube.com\/embed\/wBVVmrJ6SVs?feature=oembed\" frameborder=\"0\" allow=\"accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share\" referrerpolicy=\"strict-origin-when-cross-origin\" allowfullscreen><\/iframe><\/p>\n<p>Documentation Links:<br \/>\n* MultiPHP Manager &#8211; Apache PHP-FPM video: COMING SOON<br \/>\n* PHP Inheritance documentation &#8211; <a href=\"https:\/\/go.cpanel.net\/inherit\" rel=\"noopener\" target=\"_blank\">https:\/\/go.cpanel.net\/inherit<\/a><br \/>\n* MultiPHP Manager for WHM documentation &#8211; <a href=\"https:\/\/documentation.cpanel.net\/display\/76Docs\/MultiPHP+Manager+for+WHM\" rel=\"noopener\" target=\"_blank\">https:\/\/documentation.cpanel.net\/display\/76Docs\/MultiPHP+Manager+for+WHM <\/a><br \/>\n* cPanel &#038; WHM version 76 documentation &#8211; <a href=\"https:\/\/documentation.cpanel.net\" rel=\"noopener\" target=\"_blank\">https:\/\/documentation.cpanel.net<\/a><\/p>\n<p>Transcript:<br \/>\nHowdy! This is Rosie Arcelay, a technical writer for cPanel, the hosting platform of choice. In this video, I will show you how to edit the Apache PHP settings in the MultiPHP Manager interface in WHM.<\/p>\n<p>With MultiPHP Manager, you can manage the Apache PHP and PHP-FPM settings for your server. You can also edit individual Apache PHP and PHP-FPM settings for your cPanel users.<\/p>\n<p>Use the Apache PHP settings to help your cPanel users select the best PHP version to run PHP on their website. If you want to give your users a faster website load time, then enable the Apache PHP-FPM setting.<\/p>\n<p>This video focuses on the Apache PHP version settings in the MultiPHP Manager interface. Click the card or view the link in the description to watch the Apache PHP-FPM video.<\/p>\n<p>Let\u2019s navigate to the MultiPHP Manager interface in WHM to get started.<\/p>\n<p>To use MultiPHP Manager, your system must already have Apache PHP installed. First, set up and install your Apache server\u2019s PHP options in WHM\u2019s EasyApache 4 interface. I\u2019m going to assume that you did that already for the purposes of this video.<\/p>\n<p>The System PHP Version section displays the default Apache PHP version. New cPanel domains will use this PHP version by default. To change this version, click Edit. Then, click the arrow to open the menu. Select the version that you wish to use from the list. I&#8217;m going to select PHP version 7.2. Then, click Apply. You\u2019ll get a success or failure message after the system completes the changes. <\/p>\n<p>To edit the Apache PHP handlers for your system&#8217;s PHP versions, select the PHP Handlers tab at the top of the interface. The default PHP handler for each PHP version is suphp. To change the handler for a PHP version, click Edit. I\u2019m going to open the editor for PHP version 7.0. You can select between the default suphp handler, the cgi handler, or none. \u2018None\u2019 disables that version of PHP. Choose your handler\u2014I&#8217;m going to select suphp\u2014then click Apply. Again, the system will show you a success or failure message when it completes the changes.<\/p>\n<p>With WHM\u2019s MultiPHP Manager, you can also edit the Apache PHP version for a single domain, or for select domains. Let me show you how to edit the Apache PHP version for a single domain.<\/p>\n<p>From the MultiPHP Manager interface, scroll down to the domain\u2019s table in the PHP Version tab. Find the domain whose Apache PHP you want to edit. In this case, I will update example dot com\u2019s PHP version. I\u2019m going to find example dot com on the list, then I will click the arrows to open the menu in the PHP Version column. I\u2019m going to select PHP version 7.2 and the system does the rest.<br \/>\nNow I want to change the PHP version for some domains. To do this, I\u2019m going to select the example dot com domain, and the example one dot info domains from the domains table. I want to change their Apache PHP versions from PHP 7.0 to PHP 7.2. I already selected the checkbox next to their names. So, now I\u2019m going to scroll up a bit to the Set PHP Version per Domain section.<br \/>\nFrom the PHP version menu, select the version that you want for these domains, then click Apply. The system updates the Apache PHP version for those domains.<\/p>\n<p>Here is a little note about the inherit PHP version setting. When you set a domain to &#8216;inherit&#8217;, Apache looks at the domain&#8217;s file structure. When it finds the first &#8216;.htaccess&#8217; file, it will use that file&#8217;s PHP version. If Apache doesn&#8217;t find the &#8216;.htaccess&#8217; file, it will use the system Apache PHP version. That&#8217;s the PHP version that you set in the MultiPHP Manager interface. <\/p>\n<p>You can only enable the &#8216;inherit&#8217; setting when you have not enabled Apache PHP-FPM for that domain. For more information about how &#8216;inherit&#8217; works, read the PHP Inheritance document. I\u2019ve included a link to this document in the description.<\/p>\n<p>And\u2026 that\u2019s it! You\u2019re ready to edit the Apache PHP version for your cPanel users&#8217; domains.<\/p>\n<p>For more information about cPanel, visit cPanel dot com. Or follows on Twitter, at cPanel. Thanks for watching!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>This video shows you how to edit the Apache PHP settings in the MultiPHP Manager interface in WHM, for cPanel &#038; WHM version 76. Documentation Links: * MultiPHP Manager &#8211; Apache PHP-FPM video: COMING SOON * PHP Inheritance documentation &#8211; https:\/\/go.cpanel.net\/inherit * MultiPHP Manager for WHM documentation &#8211; https:\/\/documentation.cpanel.net\/display\/76Docs\/MultiPHP+Manager+for+WHM * cPanel &#038; WHM version 76 [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[100],"tags":[],"class_list":["post-2660","post","type-post","status-publish","format-standard","hentry","category-whm"],"_links":{"self":[{"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/posts\/2660","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/comments?post=2660"}],"version-history":[{"count":1,"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/posts\/2660\/revisions"}],"predecessor-version":[{"id":2661,"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/posts\/2660\/revisions\/2661"}],"wp:attachment":[{"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/media?parent=2660"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/categories?post=2660"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.nettigritty.com\/kb\/wp-json\/wp\/v2\/tags?post=2660"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}