Double Hosting lets you choose which PHP version your account uses and customise PHP settings like memory limit, upload size, and execution time β all without editing server config files.
Selecting a PHP Version
In cPanel, go to Software > Select PHP Version (or MultiPHP Manager). Choose the PHP version you need from the dropdown. WordPress 6+ works best with PHP 8.1 or 8.2.
Changing PHP Settings
After selecting a version, click Switch to PHP Options to modify common settings:
memory_limitβ default 256M; increase for memory-intensive pluginsupload_max_filesizeβ default 64M; increase to allow larger uploadsmax_execution_timeβ default 30 seconds; increase for long-running importspost_max_sizeβ should be equal to or larger than upload_max_filesize
Setting PHP Version Per Directory
To use a different PHP version in a specific folder, add a .htaccess file to that directory:
AddHandler application/x-httpd-php81 .phpReplace php81 with your desired version (e.g., php82).