{"id":3859,"date":"2019-03-11T20:26:47","date_gmt":"2019-03-12T00:26:47","guid":{"rendered":"https:\/\/underhost.com\/blog\/?p=3859"},"modified":"2025-03-09T14:52:23","modified_gmt":"2025-03-09T18:52:23","slug":"how-to-manage-php-versions-using-cpanels-multiphp-manager","status":"publish","type":"post","link":"https:\/\/underhost.com\/blog\/how-to-manage-php-versions-using-cpanels-multiphp-manager\/","title":{"rendered":"How to Manage PHP Versions Using cPanel\u2019s MultiPHP Manager"},"content":{"rendered":"\r\n<p>Managing the PHP version of your website is crucial for compatibility and security. With <strong>cPanel\u2019s MultiPHP Manager<\/strong>, you can assign different PHP versions to individual domains, ensuring smooth performance as PHP updates are released.<\/p>\r\n\r\n\r\n\r\n<p><strong>Watch this tutorial to learn how to manage PHP versions in cPanel:<\/strong><\/p>\r\n\r\n\r\n\r\n<figure class=\"wp-block-embed-youtube wp-block-embed is-type-video is-provider-youtube wp-embed-aspect-16-9 wp-has-aspect-ratio\"><div class=\"wp-block-embed__wrapper\">\r\n<iframe loading=\"lazy\" title=\"cPanel Tutorials - MultiPHP Manager\" width=\"640\" height=\"360\" src=\"https:\/\/www.youtube.com\/embed\/4sKYQ-D1pLg?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>\r\n<\/div><\/figure>\r\n\r\n\r\n<h2>Why Should You Manage PHP Versions?<\/h2>\r\n<ul>\r\n<li><strong>Compatibility:<\/strong> Older applications may not support newer PHP versions.<\/li>\r\n<li><strong>Security:<\/strong> Newer PHP versions include security patches to protect your website.<\/li>\r\n<li><strong>Performance:<\/strong> Updating to the latest PHP version can improve speed and efficiency.<\/li>\r\n<\/ul>\r\n\r\n<h2>How to Change PHP Versions Using MultiPHP Manager<\/h2>\r\n\r\n<h3>1. Access MultiPHP Manager<\/h3>\r\n<ul>\r\n<li>Log into <strong>cPanel<\/strong>.<\/li>\r\n<li>Navigate to <strong>Software<\/strong> > <strong>MultiPHP Manager<\/strong>.<\/li>\r\n<\/ul>\r\n\r\n<h3>2. Select the Domain<\/h3>\r\n<ul>\r\n<li>Find the domain you want to modify.<\/li>\r\n<li>Check the box next to the domain name.<\/li>\r\n<\/ul>\r\n\r\n<h3>3. Choose a PHP Version<\/h3>\r\n<ul>\r\n<li>Use the dropdown menu to select a PHP version.<\/li>\r\n<li>Click <strong>Apply<\/strong> to save changes.<\/li>\r\n<\/ul>\r\n\r\n<h3>4. Verify the PHP Version<\/h3>\r\n<p>To confirm your PHP version:<\/p>\r\n<ul>\r\n<li>Create a new file in your website\u2019s root directory named <code>phpinfo.php<\/code>.<\/li>\r\n<li>Add the following code:<\/li>\r\n<pre><code>&lt;?php phpinfo(); ?&gt;<\/code><\/pre>\r\n<li>Visit <code>yourdomain.com\/phpinfo.php<\/code> in your browser.<\/li>\r\n<li>Check the displayed PHP version.<\/li>\r\n<\/ul>\r\n\r\n<h2>Best Practices for PHP Version Management<\/h2>\r\n<ul>\r\n<li><strong>Update Regularly:<\/strong> Always use the latest stable PHP version for security and performance.<\/li>\r\n<li><strong>Test Before Upgrading:<\/strong> Ensure your website and plugins are compatible with the new PHP version.<\/li>\r\n<li><strong>Enable Error Reporting:<\/strong> Check for errors after switching versions to troubleshoot issues.<\/li>\r\n<\/ul>\r\n\r\n<h2>Related Documentation<\/h2>\r\n<p><a href=\"https:\/\/documentation.cpanel.net\/display\/78Docs\/MultiPHP+Manager+for+cPanel\" target=\"_blank\"><strong>MultiPHP Manager for cPanel<\/strong><\/a><\/p>\r\n\r\n<h2>Need Help?<\/h2>\r\n<p>If you encounter issues switching PHP versions, UnderHost\u2019s expert support team is available 24\/7. Contact us via <a href=\"https:\/\/customerpanel.ca\/client\" target=\"_blank\">@CustomerPanel<\/a> for assistance.<\/p>\r\n","protected":false},"excerpt":{"rendered":"<p>Managing the PHP version of your website is crucial for compatibility and security. With cPanel\u2019s MultiPHP Manager, you can assign different PHP versions to individual domains, ensuring smooth performance as PHP updates are released. Watch this tutorial to learn how to manage PHP versions in cPanel: Why Should You Manage PHP Versions? Compatibility: Older applications [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":4786,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[55],"tags":[],"class_list":["post-3859","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-cpanel-video-tutorials"],"_links":{"self":[{"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/posts\/3859","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/comments?post=3859"}],"version-history":[{"count":3,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/posts\/3859\/revisions"}],"predecessor-version":[{"id":5120,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/posts\/3859\/revisions\/5120"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/media\/4786"}],"wp:attachment":[{"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/media?parent=3859"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/categories?post=3859"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/underhost.com\/blog\/wp-json\/wp\/v2\/tags?post=3859"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}