From: anctop <anctop@gmail.com>
To: cygwin@cygwin.com
Subject: problem with PHP CLI exec() function
Date: Fri, 24 Apr 2015 02:02:00 -0000 [thread overview]
Message-ID: <CABmMj-M1fjCbcvom=NjgJjJ4yqHayOMqeybKNJvFPRoJCzqNuQ@mail.gmail.com> (raw)
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
reply other threads:[~2015-04-24 2:02 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CABmMj-M1fjCbcvom=NjgJjJ4yqHayOMqeybKNJvFPRoJCzqNuQ@mail.gmail.com' \
--to=anctop@gmail.com \
--cc=cygwin@cygwin.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).