Page 1 of 1

max_execution_time

Posted: Thu Feb 11, 2021 4:34 pm
by helyos
For my wordpress i need to set a bigger time for max_execution_time. If I create a php.ini with the settings Wordpress it's not afected. in the main php.ini file I have a biiger time that Wordpress see. Where should i make a change?

To be more specific in wordpress i have
max_execution_time 30s
and in Vesta CONFIGURING SERVER / NGINX CONFIGURE PHP.INI i have:
max_execution_time 90s

Thank you.

Re: max_execution_time

Posted: Sun Feb 14, 2021 8:48 am
by helyos
Any help, please?

Re: max_execution_time

Posted: Sun Feb 14, 2021 10:22 am
by tlozano

Re: max_execution_time

Posted: Sun Feb 14, 2021 12:55 pm
by grayfolk
Also if you use nginx you should update nginx config too.

Re: max_execution_time

Posted: Sun Feb 14, 2021 3:19 pm
by helyos
tlozano wrote:
Sun Feb 14, 2021 10:22 am
You can try this:
https://thimpress.com/knowledge-base/ho ... ress-site/
Thanks for your reply.
With set_time_limit(300); worked for the max_execution_time . For max_input_vars if I put @ini_set( 'max_input_vars' , 4000 ); in wp-config does not work. Do you have any ideea why?

Thanks

Re: max_execution_time

Posted: Sun Feb 14, 2021 3:27 pm
by helyos
grayfolk wrote:
Sun Feb 14, 2021 12:55 pm
Also if you use nginx you should update nginx config too.
I have updated form vesta panel.