How can i Increase execution time?
-
My script dead after 60sec.
I tried in php file.
set_time_limit(0);
In htaccess
php_value max_execution_time 0
in php.ini
max_input_time -1
max_execution_time = 0
fastcgi_read_timeout = 600I have no more idea...
-
@Ferenc-Levente-Balogh : What is your current Laragon information (Laragon's version, PHP, Apache or Nginx,..)?
Also, please check the php_errors.log to see what happened
You are using Laragon for a while, so I'm afraid if you have an infinite loop in code.
-
Just a simple xml import in wordpress.
Maximum execution time of 60 seconds exceeded in E:\work\laragon\www\ingatlan\wp-includes\wp-db.php on line 1877
Laragon Full 2.2.2 170214
php-5.6.29-Win32-VC11-x86 [TS]
Nginx 1.10.1
-
Nginx doesn't support .htacess.
You can try adding this to yournginx.conf
(not php.ini) and reload:
http {
#...
fastcgi_read_timeout 300;
#...
}
-
Yes fastcgi_read_timeout = 600 in nginx.conf but 60 sec and import die.
-
Let me make a configuration test and get back to you soon.
-
@Ferenc-Levente-Balogh: Are you sure your php.ini is updated?
Please check
phpinfo()
to make sure. Here is mine: