How to Change PHP Version
Run different PHP versions depending on your site’s needs.
Steps
Go to Websites & Domains.
Click PHP Settings for the domain.
Choose the desired PHP version.
Click Apply.
Legend: PHP Handlers (php-cgi vs php-fpm)
PHP Handlers Comparison
Feature
php-cgi
php-fpm
Performance
Slower under high load
Optimized for high performance
Resource Usage
Uses more memory per request
More efficient with memory
Process Management
Spawns a new process per request
Uses a pool of workers
Stability
May crash under high traffic
More stable and scalable
Configuration
Less customizable
Advanced settings and tuning options
Best For
Low-traffic sites or compatibility
Medium to high-traffic websites
Last updated