problem with PHP CLI exec() function

anctop anctop@gmail.com
Fri Apr 24 02:02:00 GMT 2015


Hello,

I've been using a minimal PHP CLI (command-line interface) compiled
with cygwin as a script interpreter. It works fine for most
applications.

Recently I work on a PHP script involving execution of external
programs. Naturally I code with the functions "exec()" or "system()",
but both have failed. The error message reads :

     PHP Warning:  system(): Unable to fork [command] in
/path/script.php on line 3

What does it mean & how to fix it ?


Regards,
anctop

--
Problem reports:       http://cygwin.com/problems.html
FAQ:                   http://cygwin.com/faq/
Documentation:         http://cygwin.com/docs.html
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple



More information about the Cygwin mailing list