How to Set PHP Version Per Folder in cPanel
Evans
Last Update 2 måneder siden
Go to cPanel > MultiPHP Manager.
Select your domain and choose the PHP version you want, then click Apply.
Open .htaccess in /public_html/ to copy the PHP handler code.
Paste that code into a .htaccess file inside any folder (e.g., /forum/) to apply that PHP version there.