How to upgrade your server’s PHP version in cPanel

How to Upgrade Your Server’s PHP Version in cPanel

Upgrading your PHP version can improve your website’s performance, security, and compatibility with modern applications. Whether you’re an administrator or a user with access to cPanel’s MultiPHP Manager, follow these steps to upgrade your PHP version.


1. Log in to Your cPanel or WHM Account

  • For cPanel Users:
    Log in to your cPanel account via your hosting provider’s portal (e.g., yourdomain.com/cpanel).
  • For Server Administrators:
    Log in to WHM (Web Host Manager) using your root credentials (e.g., https://yourserver-ip:2087).

2. Use MultiPHP Manager

cPanel provides the MultiPHP Manager tool to manage PHP versions for your domains.

a. Access MultiPHP Manager

  • In cPanel: Look for MultiPHP Manager under the Software section.
  • In WHM: Locate MultiPHP Manager in the left sidebar.

b. Select the Domains to Upgrade

  • Global Change (WHM):
    You can choose to set a default PHP version for all your accounts or specific domains.
  • Per-Domain Settings (cPanel):
    Select the domain you want to upgrade by checking its box.

c. Choose Your Desired PHP Version

  • 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).
  • Click the Apply or Update button to save your changes.

3. Update PHP Configuration (Optional)

  • MultiPHP INI Editor:
    After upgrading, you may need to adjust PHP settings. In cPanel, navigate to the MultiPHP INI Editor to modify directives like memory_limit, upload_max_filesize, or max_execution_time for each domain.

4. Test Your Website

  • Check Functionality:
    Visit your website to ensure that everything works correctly with the new PHP version.
  • Review Error Logs:
    If issues arise, review your error logs (accessible via cPanel or WHM) to troubleshoot any compatibility problems.

Final Thoughts

Upgrading your PHP version in cPanel using MultiPHP Manager is a straightforward process that can enhance your site’s security and performance. Always test your website thoroughly after the upgrade and adjust PHP settings as needed to ensure a smooth transition.

Ready to upgrade? Log in to your cPanel or WHM, use the MultiPHP Manager, and enjoy the benefits of a modern PHP environment!

Hot this week

From $200 to $199: How Tremhost Beats Cloudflare’s Own Pricing Model

Cloudflare’s Business Plan is legendary. It includes enterprise-grade features...

Cheaper Than Cloudflare Itself? How Tremhost Bundles World-Class Security for Less

When it comes to website performance and protection, Cloudflare...

The World’s Cheapest Fully Managed Cloudflare Security—And Why Competitors Don’t Want You to Know

Let’s be real: big hosting providers make their money...

Africa’s Best-Kept Secret: Tremhost + Cloudflare = World-Class Security at Local Prices

Across Africa, businesses face the same cyber threats as...

From Downtime to Peace of Mind: Affordable Cloudflare DDoS Protection with Tremhost

Every minute your website is down costs money. Whether...

Topics

From $200 to $199: How Tremhost Beats Cloudflare’s Own Pricing Model

Cloudflare’s Business Plan is legendary. It includes enterprise-grade features...

Cheaper Than Cloudflare Itself? How Tremhost Bundles World-Class Security for Less

When it comes to website performance and protection, Cloudflare...

Africa’s Best-Kept Secret: Tremhost + Cloudflare = World-Class Security at Local Prices

Across Africa, businesses face the same cyber threats as...

From Downtime to Peace of Mind: Affordable Cloudflare DDoS Protection with Tremhost

Every minute your website is down costs money. Whether...

The World’s Cheapest Managed Cloudflare Hosting? Tremhost Just Did It

Cloudflare is the name everyone trusts for DDoS protection,...

Cloudflare Protection Without the Global Price Tag: Tremhost Shows How

Cloudflare is known worldwide for delivering enterprise-grade website security...

How Tremhost Makes Enterprise-Grade Cloudflare Protection Affordable for Startups

Every startup has the same dream—scale fast, win customers,...
spot_img

Related Articles

Popular Categories

spot_imgspot_img