How to Set PHP Version Per Folder in cPanel

Evans

Last Update 2 måneder siden

  1. Go to cPanel > MultiPHP Manager.


  2. Select your domain and choose the PHP version you want, then click Apply.

  3. Open .htaccess in /public_html/ to copy the PHP handler code.

  4. Paste that code into a .htaccess file inside any folder (e.g., /forum/) to apply that PHP version there.

Was this article helpful?

0 out of 0 liked this article

Still need help? Message Us