php

How to Set the PHP Version per Domain in cPanel

Do you have multiple domains and want to set the PHP version per domain? You can set PHP 7.0 on the Example2 domain and PHP 8.1 on Example1. You can do this in cPanel. Log in to your cPanel account. In the Software section, click on MultiPHP Manager. 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. Now you want to set PHP 7.0 on Example2. Scroll down and select the example2 domain. Then set the PHP version to 7.0. Congratulations, both of your domains are now using different PHP versions.


August 28, 2023

How to Change the PHP Version on Your Domain in cPanel

Some software requires a different version of PHP. You can switch the PHP versions using cPanel. Log in to your cPanel account. In the Software section, click on MultiPHP Manager. 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. Changing the PHP version to your selected version takes a few seconds.


August 28, 2023

PHP Error: Allowed Memory Size of x Bytes Exhausted

If you are getting an error such as “Allowed memory size of… in file /directory/folder/yourscript.php“, you can use an htaccess file to resolve this problem. If the error does not go away even after applying the htaccess code, you should contact us. We will do our best to help you. Place this code in the dot htaccess file of your primary domain. If the error persists after using the code, enter it in the directory where you are receiving the error, such as example.com/directory/folder/.htaccess. Add this code to your htaccess file: RLimitMem max

Related: error, php


August 28, 2023

How to Reset the PHP Version to the Default Version in cPanel

If you want to reset the PHP version to the default version, follow these instructions: Log in to your cPanel account. In the Software section, click on MultiPHP Manager. 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. It will take a few seconds, after which your PHP version will reset to the default version.


July 5, 2023

How to Install PHP-Fusion via Softaculous in cPanel

Softaculous helps you install web applications very easy. Please, follow the steps below to install PHP-Fusion. Log in to your cPanel account. In the Software section, click on Softaculous Apps Installer. cPanel will redirect you to the Softaculous interface. On the left side, locate the Portal/CMS category. Click on it and then on the PHP-Fusion link that appears. Click on Install. Fill in the necessary fields under the Software Setup fields: Choose Installation URL: Choose the appropriate protocol/domain. Inside the “In Directory” field, should you want to install this in a directory, i.e., example.com/directory, enter the directory name. Otherwise, please, leave it blank to install in your main domain, i.e., example.com. Under the Site Settings field, enter the following information: Site Name: Enter the name of your website, such as PHP-Fusion. Site Email: Your e-mail address. Under the Admin Account field, enter the following information: Admin Username: Your new PHP-Fusion

Related: php, softaculous


November 4, 2022