cPanel - Control Panel

How to Set the PHP Version per Directory in cPanel

Do you want to use different PHP versions per directory? You can do this using cPanel and the dot htaccess file. Log in to your cPanel account. In the Software section, click on MultiPHP Manager. The first thing we need to do is to get the code generated by cPanel. Scroll down to the bottom of the page. Select your domain from the left side of the screen. You can view the PHP Version from the drop-down menu on the right. Please, select the appropriate PHP version from it and click on Apply. First, open the /public_html/.htaccess file in the cPanel File Manager, and you will find the code generated by cPanel. After you copy the code, should you wish to set the PHP to version 8 in the directory forums, create a .htaccess file in the directory /forums/ and paste the code generated in the previous step. Congratulations, now

Related: cpanel, multiphp, php


August 28, 2023

How to Edit .htaccess File in the cPanel File Manager

Log in to your cPanel account. In the Files section, click on File Manager. Navigate to the directory where your dot htaccess file is located. To edit the .htaccess file of your root directory, navigate to the public_html directory. If the dot htaccess file does not show, click on Settings in the File Manager. You can find the Settings button on the right side of the top menu. Mark the Show Hidden Files (Dotfiles) option in the new window box and click on Save. Now, the dot htaccess file should be present. If it does not exist, create a new one. Right-click on the dot htaccess file and then Edit in the Context Menu. In a new window box, click on Edit. Make changes to your dot htaccess file and click on Save Changes.

Related: htaccess


August 28, 2023

How to Edit a File in the cPanel File Manager

You can use cPanel’s inbuilt file manager to edit files on your website. Log in to your cPanel account. In the Files section, click on File Manager. Navigate to the directory where your file is located. Right-click on the file. Then click on Edit or HTML Edit in the Context Menu. In the HTML Editor window, click on Edit. Make changes to the file and then click on Save Changes. Your file has been successfully edited.

Related: cpanel


August 28, 2023

How to Edit or Remove a Record in cPanel

You can edit or remove a Record in cPanel using the cPanel’s DNS Zone Editor. It allows you to manage, remove, or modify DNS records. Log in to your cPanel account. In the Domains section, click on Zone Editor. Under Domains, you can see many options below Actions. Click on Manage. Locate a Record you wish to edit or remove. Should you want to edit a record, click on Edit. Modify the details, and click on Save Record. Removing a record can be done with the Delete option. Note: It may take anywhere from 12 to 24 hours for the changes to take effect worldwide.

Related: cpanel, manage


August 28, 2023

How to Edit or Remove an MX Record in cPanel

You can edit or remove an MX Record in cPanel using the cPanel’s DNS Zone Editor. It allows you to manage, remove, or modify DNS records. Log in to your cPanel account. In the Domains section, click on Zone Editor. Under Domains, you can see many options below Actions. Click on Manage. Locate the MX Record you want to edit or remove. To edit an MX record, click on Edit and modify the details. Then confirm with Save Record. Removing a record can be done with the Delete option. Note: It may take anywhere from 12 to 24 hours for the changes to take effect worldwide.

Related: cpanel, manage, mx


August 28, 2023