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_ext}, ip = {ip}, port = {port}, 
ExecutablePath = {path}.

Error code: 500
FastCGI client error in context "{context}".
Environment info: UseExternalServer = {use_ext}, ip = {ip}, port = {port}, 
ExecutablePath = {path}.
component: 'FCGI'
task -1, name: 'Application process'

Error code: 500
FastCGI client error in context "{context}".
Environment info: UseExternalServer = {use_ext}, ip = {ip}, port = {port}, 
ExecutablePath = {path}.
component: 'FCGI'
task -1, name: 'Application process’
————

Found a discussion about this on the french forums from 2011…

http://forums.4d.fr/Post/EN/6086023/1/16817358

The problem appears to be that the starting or restarting of the interpreter 
takes a while and repeated calls may find the interpreter not ready to answer. 
The solution was to call the PHP EXECUTE again until it works. The number of 
times needed was not fully resolved in the discussion. In any event I did 
resolve my problem in exactly this manner. I found I only needed to call it  a 
second time with a 1 second delay before making the second call.

I am wondering, has anything changed or provided since 2011 that would preclude 
having to use what I would consider to be somewhat of a hack of a work around?

Thanks,

John
 


**********************************************************************
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:[email protected]
**********************************************************************

Reply via email to