Server Requirements On Setup - by IP - on WordPress WooCommerce support

5 replies2 participantsUpdated by Tony Rodriguez

  • Avatar: IP
    IP
    Participant

    Hello,

    I want to change the server requirements;

    Max execution time: is currently 90 — to 1,000

    &

    Max input vars: is currently 1,000 to 2,000

    How can I do this?
    Is there any tutorial on how to do this?

    Thanks a lot

    5 Answers

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff

    Hello, @IP,

    Max Execution Time:

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

    set_time_limit(300);

    Method 2: Edit file .htaccess:
    Make sure you back up .htaccess before you edit it.

    Add the following to .htaccess:

    php_value max_execution_time 300

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

    max_execution_time = 300

    Max Input Vars:

    Directive for .htaccess

    php_value max_input_vars 4000

    Directive for php.ini or .user.ini

    max_input_vars =4000

    Directive for wp-config.php

    @ini_set( ‘max_input_vars’ , 4000 );

    Otherwise, please try to reach out to your hosting provider and ask to increase it from the server end.

    Regards 8Themes Team.

    Avatar: IP
    IP
    Participant

    Hello Tony,

    How can I do it from the server side?
    I can do it from there if you can let me know the instructions please?

    Thx!

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff

    Hello, @IP,

    You have to read your server doc or threads on Google that which server are you using and how to increase those values via your server.

    Regards 8Themes Team.

    Avatar: IP
    IP
    Participant

    Hello Tony,

    I am using cPanel.
    Please let me know

    Thx!

    Avatar: Tony Rodriguez
    Tony Rodriguez
    Support staff

Want to reply? Log in, or register with your ThemeForest purchase code, to reply to this topic.

Login / Register