Call ON ERR CALL and if PHP cgi error just call PHP Exec again...basically wait for a bit until you stop getting error and try again.
I miss the Try command in 4D :) On Mon, 13 Mar 2017 at 16:30, Patrick Emanuel via 4D_Tech < 4d_tech@lists.4d.com> wrote: > Before call any 'PHP EXECUTE', I used these 2 code lines first: > > $isOK:=PHP Execute("";"relaunch_4d_php") > PHP SET OPTION(2;True;*) > > Since, I have few PHP error like you describe. > > > > ----- > Patrick EMANUEL > ------------------------------------------------------------ > Administrator > www.association-qualisoft.eu > (Soft1002, Simply Asso & QS_Toolbox) > -- > View this message in context: > http://4d.1045681.n5.nabble.com/PHP-EXECUTE-in-a-loop-tp5750722p5750724.html > Sent from the 4D Tech mailing list archive at Nabble.com. > ********************************************************************** > 4D Internet Users Group (4D iNUG) > FAQ: http://lists.4d.com/faqnug.html > Archive: http://lists.4d.com/archives.html > Options: http://lists.4d.com/mailman/options/4d_tech > Unsub: mailto:4d_tech-unsubscr...@lists.4d.com > ********************************************************************** ********************************************************************** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options: http://lists.4d.com/mailman/options/4d_tech Unsub: mailto:4d_tech-unsubscr...@lists.4d.com **********************************************************************