This is the mail archive of the
cygwin
mailing list for the Cygwin project.
problem with PHP CLI exec() function
- From: anctop <anctop at gmail dot com>
- To: cygwin at cygwin dot com
- Date: Fri, 24 Apr 2015 10:02:31 +0800
- Subject: problem with PHP CLI exec() function
- Authentication-results: sourceware.org; auth=none
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