tags:

views:

26

answers:

2

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 = 300     ; 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?

+1  A: 

Are you sure it's the correct php.ini file you edited?

Stijn Leenknegt
Yes, I created a phpinfo() page, and when I pulled it up, it shows the values for those parameters on the page
Hallik
A: 

My own fault. I did not set the time out in the Ajax.Request. It was the browser timing it out, not the server.

Hallik