Here is the error message for timeout :
That's happened because of this code :
So I just slept for 120 seconds and got timeout... This timeout value actually comes from php apache server, so if wanto change it, we can change it on php.ini file, but this way will gonna be changed globally. Aand if we just want to change the timeout value only for one process or class we can put this line on the top of each class like this :
We can use another method :
Both of these work... sooo... mmm... yaaaaps... that's all... :D
No comments:
Post a Comment