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

Related: cpanel, multiphp, php


August 28, 2023

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.

Related: php, plesk


August 28, 2023

How to Increase PHP’s post_max_size Value Using CloudLinux’s Selector in cPanel

You can modify PHP post_max_size 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 post_max_size and click on the drop-down option displayed in front of it. Then choose the appropriate limit as per your requirements.


August 28, 2023

How to Increase PHP’s post_max_size Value Using CloudLinux’s Selector in Plesk

You can modify PHP post_max_size as per your needs using CloudLinux PHP Selector in Plesk. Log in to your Plesk account. Click on the Pull icon in the right sidebar and choose 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 post_max_size and click on the drop-down option displayed in front of it. Then choose the appropriate limit as per your requirements.


August 28, 2023

How to Increase PHP’s upload_max_filesize Value Using CloudLinux Selector in cPanel

You can modify PHP’s upload_max_filesize as per your needs using CloudLinux’s 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 upload_max_filesize and click on the drop-down option displayed in front of it. Then choose the appropriate limit as per your requirements.

Related: cpanel, php


August 28, 2023