RE: PHP Execute

2017-07-17 Thread Bruno LEGAY via 4D_Tech
Hi, A classic problem with PHP Execute is that it is depending on the embedded fast cgi which it communicates with using tcp (ip + port). If you run many copies of 4D on your machine, it is likely the default php fast cgi port for fast cgi is already used by another 4D. Then calling PHP Execute

RE: PHP Execute

2017-07-17 Thread Epperlein, Lutz (agendo) via 4D_Tech
> (please say yes) Yes! What's the reason of the question? Or, why do you think PHP and 4D don't work in a compiled environment? Regards Lutz -- Lutz Epperlein -- Agendo Gesellschaft für politische Planung mbH Köpenicker Str. 9 10997 Berlin

Re: PHP Execute

2017-07-15 Thread Ronald Rosell via 4D_Tech
Works for me in a 15.4 compiled Mac app; haven’t tried it on Windows. __ Ron Rosell President StreamLMS > On Jul 14, 2017, at 5:02 PM, David Ringsmuth via 4D_Tech > <4d_tech@lists.4d.com> wrote: > > Does PHP Execute work in 4D v15.4 (windows) compiled built app? &g

Re: PHP Execute

2017-07-14 Thread Paul Dennis via 4D_Tech
It works uncompiled what makes you think it wont ? I will check. Paul -- View this message in context: http://4d.1045681.n5.nabble.com/PHP-Execute-tp5753151p5753153.html Sent from the 4D Tech mailing list archive at Nabble.com

PHP Execute

2017-07-14 Thread David Ringsmuth via 4D_Tech
Does PHP Execute work in 4D v15.4 (windows) compiled built app? (please say yes) David Ringsmuth ** 4D Internet Users Group (4D iNUG) FAQ: http://lists.4d.com/faqnug.html Archive: http://lists.4d.com/archives.html Options

Re: PHP EXECUTE in a loop

2017-03-13 Thread John Baughman via 4D_Tech
as someone else has suggested. John > On Mar 12, 2017, at 8:56 PM, 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") >

Re: PHP EXECUTE in a loop

2017-03-13 Thread Balinder Walia via 4D_Tech
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

Re: PHP EXECUTE in a loop

2017-03-13 Thread Patrick Emanuel via 4D_Tech
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 --

Re: PHP EXECUTE in a loop

2017-03-12 Thread Keisuke Miyako via 4D_Tech
PHP Execute restarts after a set number of calls. PHP max requests http://doc.4d.com/4Dv15/4D/15.4/SET-DATABASE-PARAMETER.301-3274410.en.html if you always call PHP from the same process, and you can keep track of the number of calls, perhaps you could restart it every now

PHP EXECUTE in a loop

2017-03-12 Thread John Baughman via 4D_Tech
I am running the following PHP EXECUTE in a loop... $ok:=PHP Execute("";"urldecode";$unescapedText;$escaptedText) //unescape the text Getting the following error... -- FastCGI client error in context "{context}". Environment info: UseExternalServer = {use