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
- Access cPanel
- Log in to your WPCloud client area
- Navigate to cPanel
- Locate PHP Selector
- Scroll to the "Software" section
- Click "Select PHP Version"
- 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:
- Check your website's front end
- Test your WordPress admin area
- 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:
- Click "Reset to default" in the extensions section
- This ensures optimal extension configuration
- No manual extension configuration needed
Support and Assistance
Need help changing your PHP version? Our support team is available 24/7:
- Support Portal: https://support.wpcloud.ca/clientarea.php
- Email: support@wpcloud.ca
- 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
Last updated on November 19, 2024