Changing PHP Version
Different applications may require different PHP versions. cPanel allows you to switch PHP versions easily.
Using MultiPHP Manager
- Log in to cPanel
- Go to Software section
- Click MultiPHP Manager
- Select your domain(s)
- Choose the desired PHP version from the dropdown
- Click Apply
Available PHP Versions
| PHP 7.4 | Legacy support (end of life) |
| PHP 8.0 | Major update with JIT compiler |
| PHP 8.1 | Enums, fibers, readonly properties |
| PHP 8.2 | Readonly classes, DNF types |
| PHP 8.3 | Latest stable (recommended) |
PHP Settings (INI Editor)
- Go to MultiPHP INI Editor
- Select your domain
- Adjust settings:
upload_max_filesize– Max upload sizepost_max_size– Max POST datamax_execution_time– Script timeoutmemory_limit– PHP memory allocation
- Click Apply
Checking Current PHP Version
Create a file called info.php with <?php phpinfo(); ?> and visit it in your browser. Delete it after checking for security.