Help Center

PHP

Manage PHP versions and settings

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.1. Log in to your cPanel account. 2. In the Software…
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:1. Log in to your cPanel account. 2. In the Software section, click on MultiPHP Manager.3. Scroll down to the bottom of the page…
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. 1. Log in to your cPanel account. 2. In the Software section, click on MultiPHP Manager.3. Scroll down to the bottom of…
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.1. Log in to your cPanel account. 2. In the Software section, click on MultiPHP Manager.3. The first thing…
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…
How to Enable the Mailparse Extension of PHP Using CloudLinux Selector in cPanel
You can use CloudLinux Selector to enable the Mailparse extension in PHP via cPanel. 1. Log in to your cPanel account. 2. In the Software section, click on Select PHP Version. 3. Click on the Extensions menu. Note: If…
Does Nabtech support multiple PHP versions?
Question : Do Nabtech web hosting plans support multiple PHP versions? Answer : Turbo-Charged Flexibility with CloudLinux and LiteSpeed: Absolutely, we do! Nabtech web hosting plans support a wide range of PHP versions…
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. Steps to Change PHP Version Log in to your cPanel account. In the Software section, click on MultiPHP Manager. Scroll down…
How to Set the PHP Version per Directory in cPanel
Do you want to use different PHP versions for different directories? You can achieve this using cPanel and the .htaccess file. Steps to Set the PHP Version Log in to your cPanel account. In the Software section, click…
How to Enable the GD Extension of PHP Using CloudLinux Selector in cPanel
You can use CloudLinux Selector to enable the GD extension in PHP via cPanel. Log in to your cPanel account. In the Software section, click on Select PHP Version. Click on the Extensions menu. Note: If the Extensions…
How to Enable the GD Extension of PHP Using CloudLinux Selector in DirectAdmin
You can use CloudLinux Selector to enable the GD extension in PHP via DirectAdmin. Log in to your DirectAdmin account. In the Extra Features section, click on Select PHP Version or type Select PHP in the navigation…
How to Enable the Mailparse Extension of PHP Using CloudLinux Selector in cPanel
You can use CloudLinux Selector to enable the Mailparse extension in PHP via cPanel. Log in to your cPanel account. In the Software section, click on Select PHP Version. Click on the Extensions menu. Note: If the…
How to Set the PHP Version per Domain in cPanel - Nabtech
How to Set the PHP Version per Domain in cPanel If you have multiple domains and want to set the PHP version for each one, you can easily do this in cPanel. For example, you can set PHP 7.0 for the Example2 domain and…
How to Increase PHP's upload_max_filesize Value Using CloudLinux Selector in DirectAdmin
You can modify PHP's upload_max_filesize value according to your needs using CloudLinux's PHP Selector in DirectAdmin. Log in to your DirectAdmin account. In the Extra Features section, click on Select PHP version or…