In php.ini I have set "max_execution_time = 1200", phpinfo() confirms that, but my script stops after 300 seconds with message:
"PHP Fatal error: Maximum execution time of 300 seconds exceeded"
Nginx fastcgi_read_timeout is also set to 1200, however I think its more php issue. How to fix that problem?
It was CodeIgniter framework - it was setting max_execution_time to 300. Thank you for help. :)