Re: PHP random errors

2017-03-14 Thread Paul Dennis via 4D_Tech
I have not managed to solve this problem of running 2 copies of 4D on same machine both calling php. I have them running on reports 8002 and 8010 with 5 processes and also I tried this auto_prepend_file = "E:/V15 R5 Compare Client/Resources/php/Windows/_4D_Execute_PHP.php" session.save_path =

Re: PHP random errors

2016-10-26 Thread Justin Carr
On 26 Oct 2016, at 6:51 pm, Paul Dennis wrote: > > I have one app on port 8002 and the other on 8010 but I get error if I try to > run php simultaneously on both. > > Error code: 500 > FastCGI client error in context "{context}". > Environment info: UseExternalServer

RE: PHP random errors

2016-10-26 Thread Thomas Maul
> Where is the documentation for this syntax? I can't find it in the Language > reference. http://doc.4d.com/4Dv15R5/4D/15-R5/String.301-2936575.en.html From Example table: String(-1;"") "0x" String(-1;"&$") "$" String(0 ?+ 7;"") "0x0080" String(0 ?+ 7;"&$") "$80"

Re: PHP random errors

2016-10-26 Thread Pat Bensky
Thomas, The string(-1;"xxx") format does the trick. Where is the documentation for this syntax? I can't find it in the Language reference. On 26 October 2016 at 10:10, Thomas Maul wrote: > Mac/Win/version/modified setup? > > It might be more efficient to contact tech

RE: PHP random errors

2016-10-26 Thread Thomas Maul
Mac/Win/version/modified setup? It might be more efficient to contact tech support to dig in details. Maybe this helps: http://doc.4d.com/4Dv15R5/4D/15-R5/SET-DATABASE-PARAMETER.301-2936925.en.html Number of child processes to be created and maintained locally by the PHP interpreter of 4D

RE: PHP random errors

2016-10-26 Thread Paul Dennis
I have one app on port 8002 and the other on 8010 but I get error if I try to run php simultaneously on both. Error code: 500 FastCGI client error in context "{context}". Environment info: UseExternalServer = {use_ext}, ip = {ip}, port = {port}, ExecutablePath = {path}. component: 'FCGI' task -6,

Re: PHP random errors

2016-10-25 Thread Pat Bensky
Thanks Thomas - that looks simpler. I'll try it. Pat On 18 October 2016 at 14:00, Thomas Maul wrote: > MacOS? Especially on Mac the PHP interpreter sometimes "hang". > Then this happens best is to wait half a second, then try it again. > > Usually this happens when you do a