ShellSecrets | Articles
Sign in

Latest

Switching the PHP version for a website with MultiPHP Manager in cPanel

cPanel

How to Change PHP Version Using MultiPHP Manager in cPanel

In cPanel, open MultiPHP Manager, select the domain, choose the PHP version and click Apply. Then confirm the change with a phpinfo() file, and check that PHP Selector or .htaccess is not overriding it.

By ShellSecrets 27 Aug 2023
Changing the PHP version in cPanel with an .htaccess file

cPanel

How to Change the PHP Version in cPanel Using .htaccess

To change the PHP version with .htaccess in cPanel, open File Manager, show hidden files, edit .htaccess in your site's folder, add the AddHandler line for the PHP version you need, save, and confirm it with a phpinfo() file.

By ShellSecrets 22 Aug 2023
See all

ShellSecrets | Articles

Solve real hosting and cloud challenges with hands-on tutorials, DevOps guides, and expert tips—covering domains, servers, email, and scalable infrastructure.