X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :content-type; q=dns; s=default; b=VnKs/D6c3tpKVbo+++ad6TbzvwX/I n0z5Bs76LiShSN8Y5LjWPOatG3H8A/LdrhVjPHPrHd2DqMocqeKEz7j5jUtDNVJ4 2QsF5kCbIRLurbNjEGRjrQCWzIQwLXIf4nTdI2bfcb/FCUWJk6Hbw2qViTrQBV35 t6rCMkjm+Bn53w= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:mime-version:date:message-id:subject:from:to :content-type; s=default; bh=jFAu5c8keKxoJP2JGXUINlhLwVA=; b=RQO YGMRMi0CHH0SGJq7xJ1jfe/UvOjIxrQn+motgCl1toKJJslbM8wJ8EwVSxQyu4j6 IeB/Ni0scHoSr2xPV++x7sHnANdVbTIqAj/c2mCRjFpi3TzqSi9dWHFg+Dhjrcss FI/yjrgsGRYT5pQFgqWyO3RS9ETcYpp627B/w83o= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-0.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-la0-f49.google.com MIME-Version: 1.0 X-Received: by 10.112.204.72 with SMTP id kw8mr4929976lbc.88.1429840951701; Thu, 23 Apr 2015 19:02:31 -0700 (PDT) Date: Fri, 24 Apr 2015 10:02:31 +0800 Message-ID: Subject: problem with PHP CLI exec() function From: anctop To: cygwin AT cygwin DOT com Content-Type: text/plain; charset=UTF-8 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