PHP – Email shop Community https://theemailshop.co.uk/community Wed, 04 Dec 2019 05:40:01 +0000 en-US hourly 1 https://wordpress.org/?v=6.8.3 PHP error- allowed memory size of x bites exhausted https://theemailshop.co.uk/community/knowledge-base/php-error-allowed-memory-size-of-x-bites-exhausted-2/ Wed, 04 Dec 2019 05:40:01 +0000 https://theemailshop.co.uk/forum/?post_type=epkb_post_type_1&p=1170 If you have an error like “Allowed memory size of… in file /directory/folder/yourscript.php“, then it’s possible to choose .htaccess technique to solve the issue. If an error still exists after applying this .htaccess code, then its best to contact our professionals for more help.

Put this code in the .htaccess file of the main domain, and if the error persists even after using the code, then enter this in a directory where you get an error, like example.com/directory/folder/.htaccess and then put the code in the /directory folder.

RLimitMem max

]]>
HOW TO EDIT OR REMOVE MX RECORD IN CPANEL USING THE DNS ZONE EDITOR? https://theemailshop.co.uk/community/knowledge-base/how-to-edit-or-remove-mx-record-in-cpanel-using-the-dns-zone-editor/ Tue, 03 Dec 2019 12:04:54 +0000 https://theemailshop.co.uk/forum/?post_type=epkb_post_type_1&p=986
  • Sign-in to your cPanel account.
  • In the “Domains” section, tap on the “Zone Editor” Icon.
  • cpanel-dnszone-icon

    • Under the domain section, many actions options will appear on your screen

    cpanel-mx-record-manage

    • Tap on the “Manage” option, your DNS record will be
    • Select the desired MX Record you want to edit or remove.

    cpanel-mx-record-edit-delete

    ]]>
    HOW TO ADD A MX RECORD IN CPANEL USING DNS ZONE EDITOR? https://theemailshop.co.uk/community/knowledge-base/how-to-add-a-mx-record-in-cpanel-using-dns-zone-editor/ Tue, 03 Dec 2019 11:59:00 +0000 https://theemailshop.co.uk/forum/?post_type=epkb_post_type_1&p=957 A mail recorder is a resource that specifies a mail server responsible for accepting email messages. Follow these simple steps and add ‘MX record’ with cPanel Zone Editor option.

    • Sign-in to your cPanel account.
    • In the “Domains” section, tap on the “Zone Editor” Icon.

    cpanel-dnszone-icon

    • Under the domain section, many actions options will appear on your screen

    cpanel-cname-mxrec-domains

    • Click on the “MX Record” option and a small window will pop out.
    • Enter the appropriate data in it. Priority and destination in the relevant field.
    • Here keep these things in the mind:
    • Priority: Use the lowest preference number for The MX record you use for mail routing, typically clients use 0. Moreover, you can use 0 for your mail routing record, and 10 for the record to claim your domain.
    • Destination: Write the domain name of your Mail Exchange. In case, you use an external mail server enter the domain name of that external mail server. Otherwise, for a local mail server, enter your local domain.

    cpanel-mx-record-add-domain

    • Tap on the “Add an MX record” option.
    • A message will generate that Record has been successfully added.

    Note: Adding the MX record and noticing the changes may take up to 12 to 24 hours.

    ]]>
    HOW TO ADD A RECORD IN CPANEL USING DNS ZONE EDITOR? https://theemailshop.co.uk/community/knowledge-base/how-to-add-a-record-in-cpanel-using-dns-zone-editor/ Tue, 03 Dec 2019 11:54:20 +0000 https://theemailshop.co.uk/forum/?post_type=epkb_post_type_1&p=943 By adding the record, we mean adding the DNS record. A DNS record is used to direct a domain or subdomain towards an IP address.

    Follow these simple steps and add ‘A record’ with cPanel Zone Editor option.

    • Sign-in to your cPanel account.
    • In the “Domains” section, tap on the “Zone Editor” Icon.

    cpanel-dnszone-icon

    • Under the domain section, many actions options will appear on your screen

    cpanel-a-record-domains-list

    • Click on the “Record” option and a small window will pop out.
    • Enter the appropriate data in it. Like name and domain in the relevant field. Blog/website name in the name field and IP address in the address field.
    • Tap on the “Add the Record” option.

    cpanel-a-record-add-domain

    • A message will generate that Record has been successfully added.

    Note: Adding the DNS record and noticing the changes may take up to 12 to 24 hours.

    ]]>
    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.

    ]]>
    HOW TO SET THE PHP VERSION PER DOMAIN, USING CPANEL? https://theemailshop.co.uk/community/knowledge-base/how-to-set-the-php-version-per-domain-using-cpanel/ Tue, 03 Dec 2019 11:47:43 +0000 https://theemailshop.co.uk/forum/?post_type=epkb_post_type_1&p=915
  • 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

    cpanel-multiphp-select-domain-full (1)

    • On the right side, an option “PHP Version” will appear with a drop-down menu
    • Select the desired PHP version from it and tap the Apply button.
    • Now for the second domain, select the other domain and then select your desired PHP version.
    • Both of your domain is successfully using different PHP versions

    cpanel-multiphp-select-second-domain

    ]]>
    HOW TO RESET THE PHP VERSION TO THE DEFAULT VERSION, USING CPANEL? https://theemailshop.co.uk/community/knowledge-base/how-to-reset-the-php-version-to-the-default-version-using-cpanel/ Tue, 03 Dec 2019 11:45:09 +0000 https://theemailshop.co.uk/forum/?post_type=epkb_post_type_1&p=909
  • 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.
    • Select the ‘Inherit’ option from it and tap on the Apply button.
    • It may take a few seconds, after that, your PHP version will be successfully reset.

    cpanel-multiphp-select-domain-full-reset

    ]]>
    PHP error- allowed memory size of x bites exhausted https://theemailshop.co.uk/community/knowledge-base/php-error-allowed-memory-size-of-x-bites-exhausted/ Tue, 03 Dec 2019 10:56:35 +0000 https://theemailshop.co.uk/forum/?post_type=epkb_post_type_1&p=716 If you have an error like “Allowed memory size of… in file /directory/folder/yourscript.php”, then it’s possible to choose .htaccess technique to solve the issue. If an error still exists after applying this .htaccess code, then its best to contact our professionals for more help.

    Put this code in the .htaccess file of the main domain, and if the error persists even after using the code, then enter this in a directory where you get an error, like example.com/directory/folder/.htaccess and then put the code in the /directory folder.

     

    RLimitMem max

    ]]>