max_execution_time

This topic is: resolved

 

Thank you for contacting me. Please note that I live in the GMT+3 time zone - responses might be delayed by this.

This topic has 3 replies, 2 voices, and was last updated 3 weeks, 6 days ago by Szabi – CodeRevolution.

Viewing 3 reply threads
  • Author
    Posts
    • #11896


      Jean
      Participant
      Post count: 2

      Warning! Your PHP INI max_execution_time is less than 1000 seconds (120). This means that the plugin’s execution will be forcefully stopped by your server after this amount of seconds. Please increase it to ensure that the plugin functions properly. Please check details on server settings

      Can you help me implement this correctly in Plesk? Whatever I did does not increase to max_execution_time

    • #11897


      Szabi – CodeRevolution
      Keymaster
      Post count: 4802

      Hello,

      First of all, thank you for your purchase.

      Ok, I will try to help.
      Go to: Plesk Dashboard > Domains > Click on your domain > PHP Settings
      Now find the section Performance and Security Settings (or sometimes just “Common Settings”).
      Set:

      max_execution_time = 1000

      Save your changes.

      Be sure to also check if your site or hosting package has a custom php.ini, .user.ini, or .htaccess rule that could override the setting. Plesk settings apply globally for the domain, but local rules in these files (if they exist) can sometimes override them.
      Examples to look for:
      1. .user.ini in your website root with max_execution_time
      2. .htaccess with php_value max_execution_time
      3. A manually added php.ini file inside your webspace

      Now, you have to restart PHP from Tools & Settings > Services Management > PHP-FPM.
      Or just restart Apache/Nginx if using FastCGI or Apache module.

      Regards,
      Szabi – CodeRevolution.

    • #11898


      Jean
      Participant
      Post count: 2

      Ok I have a php.ini with following:

      ; Increased memory limits
      memory_limit = 512M
      max_execution_time = 1000
      max_input_time = 600
      max_input_vars = 3000

      I have a user.ini with

      ; PHP settings for WordPress
      memory_limit = 512M
      max_execution_time = 1000
      max_input_time = 600
      max_input_vars = 3000
      post_max_size = 64M
      upload_max_filesize = 64M

      The max_execution_time in Performance and Security Settings can not be more than 120

    • #11899


      Szabi – CodeRevolution
      Keymaster
      Post count: 4802

      Based on what you described, it sounds like your hosting provider (or Plesk configuration) has imposed a hard limit on max_execution_time, and Plesk itself is enforcing that cap of 120 seconds.

      Please contact your hosting provider’s support and ask if they have any hardcoded limit of max_execution_time from their part.

      If they have, ask them to remove it for you.

      Regards.

Viewing 3 reply threads

You must be logged in to reply to this topic.