0

I have a script which has a long running MySQL query and PHP returns a huge number of records as it is used to fetch raw logs for users.

I am finding it a little strange but i am getting time out after setting max_execution_time = -1.

I have also set max_input_time = -1 and memory_limit = -1 to make it work atleast for testing server.

Server has php5-fpm. Have also done multiple restarts with service php5-fpm restart.

What can be the issue here?

1 Answer 1

2

You should use "0" and not "-1".

REF: https://stackoverflow.com/questions/15776400/make-script-execution-to-unlimited

2
  • 1
    Can you explain this a bit better? Maybe provide a reference to the docs?
    – chicks
    Jun 6, 2016 at 17:41
  • Quick search in the docs would show this. I don't know where the -1 came from.
    – Jason
    Jun 6, 2016 at 17:45

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .