Guide to Changing PHP Versions Using CloudLinux PHP Selector

A straightforward guide for safely changing PHP versions using CloudLinux PHP Selector, with emphasis on HardenedPHP security features.

ย 

Overview

This guide explains how to change PHP versions using CloudLinux PHP Selector. Thanks to WPCloud's HardenedPHP implementation, you can safely use any PHP version without security concerns. Changing PHP versions is a simple settings change that doesn't modify your files or database in any way.

Important Notes About PHP Version Changes

โš ๏ธ Key Points to Remember:

  • Changing PHP versions is completely safe and reversible
  • No files or databases are modified during this process
  • You can instantly switch back to your previous version if needed
  • No backup is required as this is purely a settings change
  • HardenedPHP ensures older PHP versions remain secure

Understanding HardenedPHP Security

HardenedPHP, provided by CloudLinux, is a crucial security feature that:

  • Makes older PHP versions as secure as newer ones
  • Allows you to safely use any PHP version your applications require
  • Provides real-time security patches and protection
  • Eliminates the security risks typically associated with older PHP versions
ย 

Available PHP Versions

WPCloud supports PHP versions 5.6 through 8.4:

  • All versions are secured through HardenedPHP
  • Choose any version that best suits your needs
  • Switch between versions instantly without risk
  • No security compromise regardless of version choice
ย 

Step-by-Step PHP Version Change Process

  1. Access cPanel
      • Log in to your WPCloud client area
      • Navigate to cPanel
  1. Locate PHP Selector
      • Scroll to the "Software" section
      • Click "Select PHP Version"
  1. Change PHP Version
      • Select your desired version from the dropdown
      • Click "Apply"
      • Click "Reset to default" for extensions

Testing After PHP Version Change

After changing your PHP version, simply verify that your website loads correctly. If you encounter any issues:

  1. Check your website's front end
  1. Test your WordPress admin area
  1. If anything doesn't work as expected, simply switch back to your previous PHP version
ย 

Common Scenarios and Solutions

Scenario 1: Website Shows Errors After Change

  • Solution: Simply switch back to your previous PHP version
  • No troubleshooting needed - just revert the change
  • No damage or permanent changes occur

Scenario 2: Plugin/Theme Compatibility

  • Some plugins or themes may require specific PHP versions
  • If you experience issues, check the plugin/theme requirements
  • Switch to a compatible PHP version as needed

Scenario 3: White Screen After Change

  • Return to PHP Selector
  • Select your previous PHP version
  • Click Apply
ย 

PHP Version Recommendations

While all PHP versions are secure through HardenedPHP, here are general recommendations:

  • Latest Sites:
    • PHP 8.1-8.3 for best performance
    • Ideal for newly built websites
  • Established Sites:
    • PHP 7.4 works well for most sites
    • Great balance of compatibility and performance
  • Legacy Sites:
    • PHP 5.6-7.3 available if specifically needed
    • Fully secured through HardenedPHP
    • Use without security concerns

Extensions and Settings

After changing PHP versions, we recommend:

  1. Click "Reset to default" in the extensions section
  1. This ensures optimal extension configuration
  1. No manual extension configuration needed

Support and Assistance

Need help changing your PHP version? Our support team is available 24/7:

  • Typical Response Time: Within 15 minutes

Key Takeaways

Remember:

  • โœ… PHP version changes are completely safe
  • โœ… No backups needed - no files or databases are modified
  • โœ… All PHP versions are secure through HardenedPHP
  • โœ… Changes are instantly reversible
  • โœ… Support is always available if needed
ย 
Did this answer your question?
๐Ÿ˜ž
๐Ÿ˜
๐Ÿคฉ

Last updated on November 19, 2024