I have a PHP script that seemed to stop working after about 20 minutes.
To find out why, I made a very simple script to see how long it would work without any complicated code to confuse me.
I found that the same thing happens with this simple infinite loop. At some point between 15 and 25 minutes of work, he stops without any messages or errors. The browser says "Finish."
I survived every possible thing that I could think of:
set_time_limit ( session.gc_maxlifetime in the php.ini) memory_limit max_execution_time
The script breakpoint is incompatible. Sometimes it stops for 15 minutes, sometimes for 22 minutes.
Please any help would be greatly appreciated.
It is hosted on server 1and1 . I contacted them and they do not support errors caused by developers.
scripting php while-loop
Robhardgood
source share