{"id":16946,"date":"2025-04-04T21:22:34","date_gmt":"2025-04-04T19:22:34","guid":{"rendered":"https:\/\/tremhost.com\/blog\/?p=16946"},"modified":"2025-04-04T21:22:34","modified_gmt":"2025-04-04T19:22:34","slug":"how-to-upgrade-your-servers-php-version-in-cpanel","status":"publish","type":"post","link":"https:\/\/tremhost.com\/blog\/how-to-upgrade-your-servers-php-version-in-cpanel\/","title":{"rendered":"How to upgrade your server\u2019s PHP version in cPanel"},"content":{"rendered":"<div id=\"bsf_rt_marker\"><\/div><h1>How to Upgrade Your Server\u2019s PHP Version in cPanel<\/h1>\n<p>Upgrading your PHP version can improve your website\u2019s performance, security, and compatibility with modern applications. Whether you&#8217;re an administrator or a user with access to cPanel&#8217;s MultiPHP Manager, follow these steps to upgrade your PHP version.<\/p>\n<hr \/>\n<h2>1. Log in to Your cPanel or WHM Account<\/h2>\n<ul>\n<li><strong>For cPanel Users:<\/strong><br \/>\nLog in to your cPanel account via your hosting provider\u2019s portal (e.g., <code>yourdomain.com\/cpanel<\/code>).<\/li>\n<li><strong>For Server Administrators:<\/strong><br \/>\nLog in to WHM (Web Host Manager) using your root credentials (e.g., <code>https:\/\/yourserver-ip:2087<\/code>).<\/li>\n<\/ul>\n<hr \/>\n<h2>2. Use MultiPHP Manager<\/h2>\n<p>cPanel provides the <strong>MultiPHP Manager<\/strong> tool to manage PHP versions for your domains.<\/p>\n<h3>a. Access MultiPHP Manager<\/h3>\n<ul>\n<li>In <strong>cPanel<\/strong>: Look for <strong>MultiPHP Manager<\/strong> under the <strong>Software<\/strong> section.<\/li>\n<li>In <strong>WHM<\/strong>: Locate <strong>MultiPHP Manager<\/strong> in the left sidebar.<\/li>\n<\/ul>\n<h3>b. Select the Domains to Upgrade<\/h3>\n<ul>\n<li><strong>Global Change (WHM):<\/strong><br \/>\nYou can choose to set a default PHP version for all your accounts or specific domains.<\/li>\n<li><strong>Per-Domain Settings (cPanel):<\/strong><br \/>\nSelect the domain you want to upgrade by checking its box.<\/li>\n<\/ul>\n<h3>c. Choose Your Desired PHP Version<\/h3>\n<ul>\n<li>From the drop-down menu, select the new PHP version you wish to use (e.g., PHP 7.4, PHP 8.0, or PHP 8.1).<\/li>\n<li>Click the <strong>Apply<\/strong> or <strong>Update<\/strong> button to save your changes.<\/li>\n<\/ul>\n<hr \/>\n<h2>3. Update PHP Configuration (Optional)<\/h2>\n<ul>\n<li><strong>MultiPHP INI Editor:<\/strong><br \/>\nAfter upgrading, you may need to adjust PHP settings. In cPanel, navigate to the <strong>MultiPHP INI Editor<\/strong> to modify directives like <code>memory_limit<\/code>, <code>upload_max_filesize<\/code>, or <code>max_execution_time<\/code> for each domain.<\/li>\n<\/ul>\n<hr \/>\n<h2>4. Test Your Website<\/h2>\n<ul>\n<li><strong>Check Functionality:<\/strong><br \/>\nVisit your website to ensure that everything works correctly with the new PHP version.<\/li>\n<li><strong>Review Error Logs:<\/strong><br \/>\nIf issues arise, review your error logs (accessible via cPanel or WHM) to troubleshoot any compatibility problems.<\/li>\n<\/ul>\n<hr \/>\n<h2>Final Thoughts<\/h2>\n<p>Upgrading your PHP version in cPanel using MultiPHP Manager is a straightforward process that can enhance your site\u2019s security and performance. Always test your website thoroughly after the upgrade and adjust PHP settings as needed to ensure a smooth transition.<\/p>\n<p>Ready to upgrade? Log in to your cPanel or WHM, use the MultiPHP Manager, and enjoy the benefits of a modern PHP environment!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>How to Upgrade Your Server\u2019s PHP Version in cPanel Upgrading your PHP version can improve your website\u2019s performance, security, and compatibility with modern applications. Whether you&#8217;re an administrator or a user with access to cPanel&#8217;s MultiPHP Manager, follow these steps to upgrade your PHP version. 1. Log in to Your cPanel or WHM Account For [&hellip;]<\/p>\n","protected":false},"author":1772,"featured_media":16947,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"om_disable_all_campaigns":false,"tdm_status":"","tdm_grid_status":"","footnotes":""},"categories":[163],"tags":[],"class_list":{"0":"post-16946","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-hosting"},"aioseo_notices":[],"_links":{"self":[{"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/posts\/16946","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/users\/1772"}],"replies":[{"embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/comments?post=16946"}],"version-history":[{"count":1,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/posts\/16946\/revisions"}],"predecessor-version":[{"id":16948,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/posts\/16946\/revisions\/16948"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/media\/16947"}],"wp:attachment":[{"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/media?parent=16946"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/categories?post=16946"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tremhost.com\/blog\/wp-json\/wp\/v2\/tags?post=16946"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}