php
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
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 Extensions page shows an error related to the native PHP version, change it to a non-native version first. Checkmark the Mailparse. Once enabled, it will display a success message. The message will read that the module Mailparse is saved.
Related: cloudlinux, cpanel, mail, php
How to Enable the Mailparse Extension of PHP Using CloudLinux Selector in Plesk
You can use CloudLinux Selector to enable the Mailparse extension in PHP via Plesk. Log in to your Plesk account. In the right-hand sidebar, click on PHP Selector. Click on the Extensions menu. Note: If the Extensions page shows an error related to the native PHP version, change it to a non-native version first. Checkmark Mailparse. Once enabled, it will display a success message. The message will read that the module Mailparse is saved.
Related: extensions, mail, php, plesk
How to Increase or Decrease PHP Memory Limit via CloudLinux Selector in cPanel
You can modify PHP Memory Limit as per your needs using CloudLinux PHP Selector in cPanel. . Log in to your cPanel account. . In the Software section, click on Select PHP Version. Click on the Options menu. Note: If the Options page shows an error related to the native PHP version, change it to a non-native version first. Look for memory_limit and click on the drop-down option displayed in front of it. Then choose the appropriate limit as per your requirements.
How to Increase or Decrease PHP Memory Limit via CloudLinux Selector in Plesk
You can modify PHP Memory Limit as per your needs using CloudLinux PHP Selector in Plesk. Log in to your Plesk account. In the right-hand sidebar, click on PHP Selector. Click on the Options menu. Note: If the Options page shows an error related to the native PHP version, change it to a non-native version first. Look for memory_limit and click on the drop-down option displayed in front of it. Then choose the appropriate limit as per your requirements.