Page 1 of 1

script tried to disable max_execution_time by setting it to

PostPosted: Sat Mar 14, 2015 3:51 pm
by wakh
PHP 5.5
I've got a lot of errors in my hosting log
script tried to disable max_execution_time by setting it to zero which is not allowed (file '/home/user12032/www/webdev.wakh.ru/pivotx/modules/module_search.php', line 26


in module_search.php line 26 i can see this
Code: Select all
@set_time_limit(0);

is it normal?

Re: script tried to disable max_execution_time by setting it

PostPosted: Mon Mar 16, 2015 5:21 pm
by Harm10
I wouldn't know. Sorry. Maybe someone else knows?

Re: script tried to disable max_execution_time by setting it

PostPosted: Fri Apr 03, 2015 8:31 am
by hansfn
Just remove that line of code if your server objects to it.

Is it normal? No, a script should respect the max execution time set by the server. I guess that line of code is very old.