I have an application where I can make calls, that will take anywhere from 60-90 seconds to return. I did set_time_limit(0), but because I am doing an exec() command, it doesn't take that into account.
So I modify these two values in my php.ini and restarted Apache (CentOS)
max_execution_time = 30开发者_JS百科0 ; Maximum execution time of each script, in seconds
max_input_time = 300 ; Maximum amount of time each script may spend parsing request data
But I make the call in my app, and time it, and it is still dying at 30 seconds? What are my options?
My own fault. I did not set the time out in the Ajax.Request. It was the browser timing it out, not the server.
精彩评论