Dev License: This installation of WHMCS is running under a Development License and is not authorized to be used for production use. Please report any cases of abuse to abuse@whmcs.com

Understanding PHP Versions and CloudLinux Configuration Print

  • 0

Learn about PHP versions and how to configure PHP settings for optimal performance.

CloudLinux PHP Selector

Our hosting platform uses CloudLinux with advanced PHP Selector capabilities. This provides you with:

  • Multiple PHP Versions: Choose from PHP 5.6 to 8.3+
  • Custom PHP Settings: Configure memory limits, execution time, and more
  • PHP Extensions: Enable/disable extensions as needed
  • Per-Domain Configuration: Different PHP versions for different websites
  • Instant Switching: No downtime when changing PHP versions

Accessing PHP Selector:
1. Log into cPanel
2. Find "Select PHP Version" in the Software section
3. Choose your desired PHP version from the dropdown
4. Configure custom PHP settings and extensions
5. Changes take effect immediately

For detailed instructions on using our CloudLinux PHP Selector, see our comprehensive guide: "How to Use CloudLinux PHP Selector in cPanel"

Recommended PHP Versions

  • PHP 8.1+: Latest features, best performance
  • PHP 8.0: Good performance, stable
  • PHP 7.4: Older but still supported
  • Avoid: PHP 7.3 and below (end of life)

PHP Configuration

Common settings to adjust:
memory_limit: 256M or higher
max_execution_time: 300 seconds
upload_max_filesize: 64M
post_max_size: 64M

Changing PHP Settings

Method 1: cPanel PHP Options
1. Go to "Select PHP Version"
2. Click "Switch to PHP Options"
3. Modify settings
4. Save changes

Method 2: php.ini file
1. Create php.ini in public_html
2. Add configuration lines
3. Save file

WordPress-Specific Settings

For WordPress sites:
• memory_limit = 512M
• max_execution_time = 300
• max_input_vars = 3000

CloudLinux Hosting Advantages

Our CloudLinux hosting environment provides superior PHP management:

  • Resource Isolation: Your PHP processes are isolated from other users
  • Guaranteed Resources: Dedicated CPU and memory allocation
  • Enhanced Security: CageFS provides additional security layers
  • Better Performance: Optimized PHP configurations for speed
  • Stability: No impact from other accounts on the server

Need Help with PHP Configuration?

Our support team can assist with:

  • PHP version recommendations for your applications
  • Custom PHP configuration optimization
  • Troubleshooting PHP-related issues
  • Performance optimization strategies
  • CloudLinux resource management

Contact our support team for expert assistance with PHP configuration and CloudLinux optimization.


Was this answer helpful?

« Back

Powered by WHMCompleteSolution