Skip to main content

WP Toolkit can't use the "Copy" feature

Comments

12 comments

  • quietFinn
    You need to increase PHP's memory_limit, seems it's now 40MB.
    0
  • PeterN123
    You need to increase PHP's memory_limit, seems it's now 40MB.

    I already set it to this, still no luck display_errors = Off max_execution_time = 300 max_input_time = 300 max_input_vars = 1000 memory_limit = 600M post_max_size = 400M session.gc_maxlifetime = 1440 session.save_path = "/var/cpanel/php/sessions/ea-php74" upload_max_filesize = 12M zlib.output_compression = Off
    I set it on the root account as well as the domains.
    0
  • andrew.n
    @PeterN123 if you upload a PHP info page can you see the new PHP memory limit in affect?
    0
  • PeterN123
    @PeterN123 if you upload a PHP info page can you see the new PHP memory limit in affect?
    0
  • andrew.n
    and in wp-config.php there is no WP_MEMORY_LIMIT defined? in .htaccess file?
    0
  • PeterN123
    and in wp-config.php there is no WP_MEMORY_LIMIT defined? in .htaccess file?

    I just checked, no, not at all :(
    0
  • andrew.n
    /public_html/staging that's a subdomain? i.e staging.domain.com. In that case it has a separate memory limit which you can set under MultiINI in cPanel. Can you double check you set this for staging and not for Home or for the main domain?
    0
  • PeterN123
    /public_html/staging that's a subdomain? i.e staging.domain.com. In that case it has a separate memory limit which you can set under MultiINI in cPanel. Can you double check you set this for staging and not for Home or for the main domain?

    Hello, I created a phpinfo file for the staging domain and yes, the memory is set properly as well:
    0
  • andrew.n
    Well how about bumping up the global value then?:) nor 32MB neither 128MB is too high so I would then go ahead and increase this from WHM under MultiPHP for the respective PHP version to 512 or 768MB. At least this is the best I can suggest without having a closer look :(
    0
  • PeterN123
    Well how about bumping up the global value then?:) nor 32MB neither 128MB is too high so I would then go ahead and increase this from WHM under MultiPHP for the respective PHP version to 512 or 768MB. At least this is the best I can suggest without having a closer look :(

    Ayo Andrew, you are absolutely right, changing Master Value does fix the issue. WPToolkit is working properly now. I think WPToolkit is using Master PHP value instead, that is probably why it didn't work. Thanks so much :D
    0
  • cPRex Jurassic Moderator
    I'm glad you were able to track that down!
    0
  • kwsim
    Well how about bumping up the global value then?:) nor 32MB neither 128MB is too high so I would then go ahead and increase this from WHM under MultiPHP for the respective PHP version to 512 or 768MB. At least this is the best I can suggest without having a closer look :(

    This worked perfectly! Changing the values in the MultiPHP on WHM fixed the issues I was getting after updating my sites to PHP 8. Thank you.
    0

Please sign in to leave a comment.