multiphp – Email shop Community https://theemailshop.co.uk/community Tue, 03 Dec 2019 11:51:06 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.3 HOW TO SET THE PHP VERSION PER FOLDER? https://theemailshop.co.uk/community/knowledge-base/how-to-set-the-php-version-per-folder/ Tue, 03 Dec 2019 11:51:06 +0000 https://theemailshop.co.uk/forum/?post_type=epkb_post_type_1&p=930
  • Sign-in to your cPanel account.
  • In the “Software” section, tap on the “MultiPHP Manager” Icon.
  • cpanel multiphp icon

    • Navigate to the bottom of the page and select your domain from the left side of the screen
    • On the right side, an option “PHP Version” will appear with a drop-down menu

    cpanel-multiphp-select-domain-full

    • Select the desired PHP version from it and tap the Apply button.
    • Now, go to your FTP account or cPanel File Manager, open the /public_html/.htaccess file.

    cpanel-multiphp-version-generated

    • Copy that code
    • Now, if you want to change your PHP version to latest PHP version 7 you need to create a .htaccess file in the folder /forum
    • Paste the code which was generated in the previous step.
    • Your folder is now successfully set to PHP version 7.
    • In case, you want to use the same PHP version in some other folder than simple copy .htaccess file and paste into that folder.

    If you wish to use a different PHP version on any folder, you will need to follow steps 6 to 12, in order to generate the code.

    ]]>