I can’t increase Max execution time with the hosting company

This topic has 4 replies, 3 voices, and was last updated 1 years, 9 months ago ago by Rose Tyler

  • Avatar: Shawn Lisk
    Shawn Lisk
    Participant
    February 28, 2023 at 04:31

    I installed the theme, and the server requirement says I need the max execution time to be set between 120 – 180. I am using InMotion Hosting. The servers are NGINX, and it is impossible to increase the maximum time to 120 – it is locked down to 90 seconds. Is this something you can help me with?

    Please, contact administrator
    for this information.
    3 Answers
    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff
    February 28, 2023 at 06:26

    Hello, Shawn Lisk,

    We apologize for the inconvenience, but the administrative login details you provided are not functioning correctly (see link: https://postimg.cc/kRCQWgVz).

    You may have received a message such as “Maximum execution time of 30 seconds exceeded” or “Maximum execution time of 60 seconds exceeded”. This indicates that the process is taking too long to complete and is timing out. There are several ways to address this error.

    Method 1: Edit the file wp-config.php:
    Add the following line to wp-config.php:

    set_time_limit(300);

    Method 2: Edit the file .htaccess:
    Before making any changes, please back up the .htaccess file.
    Add the following line to .htaccess:

    php_value max_execution_time 300

    Method 3: Editing php.ini
    Add the following line to php.ini:

    max_execution_time = 300

    We hope this information is helpful.

    Best Regards,
    8Theme’s Team

    Avatar: Shawn Lisk
    Shawn Lisk
    Participant
    February 28, 2023 at 14:16

    Sorry that the login information didn’t work. I realized when I checked I hadn’t saved the user account.

    I tried your methods, but they do not work. When I contacted the hosting company – InMotion Hosting, they said that I am not allowed to change the Max execution time – this is locked down from their side. They said that the server is NGINX, and I am not allowed to increase it over 90 seconds.

    Please contact administrator
    for this information.
    Avatar: Rose Tyler
    Rose Tyler
    Support staff
    February 28, 2023 at 15:50

    Hello, Shawn Lisk,

    max_execution_time is a limit for the execution time while running the script. For example, if you import content and script needs more than 90 secs then you may face a problem with demo content import. But depending on other server settings script could finish its work faster. So, if you didn’t face problems with theme options then don’t worry about this parameter.

    Kind Regards,
    8theme team

  • Viewing 4 results - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.Log in/Sign up

We're using our own and third-party cookies to improve your experience and our website. Keep on browsing to accept our cookie policy.