#29001 [Bgs]: "unable to fork"
| From: | hartz at e-consult-ag dot de | Date: | Mon, 12 Jul 2004 07:39:48 +0000 |
| Subject: | #29001 [Bgs]: "unable to fork" | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-62081@lists.php.net to get a copy of this message | ||
ID: 29001
User updated by: hartz at e-consult-ag dot de
Reported By: hartz at e-consult-ag dot de
Status: Bogus
Bug Type: IIS related
Operating System: Windows XP
PHP Version: 4.3.7
New Comment:
This sentence is from an older thread here in this bug-database. I've
read this thread and executed this command for the cmd.exe and the
zip.exe file bevore i wrote this bugreport.
Regards,
Stephan
Previous Comments:
------------------------------------------------------------------------
[2004-07-11 20:21:30] sniper@php.net
Not PHP bug (see above comment)
------------------------------------------------------------------------
[2004-07-09 15:32:15] egarcia at egm dot as
This is not a problem in the PHP.
The problem is related to the execution permissions over the CMD to the
IUSR_machine and the ZIP exe file.
I do fork to GPG.exe in ISAPI/CGI modes. Using popen and proc_open.
According to the mode ISAPI/CGI the IWAM_/IUSR_ user must have read &
execute permissions over the CMD and the EXE file that you try to
call.
This sentence put the needed permissions:
cacls cmd.exe /E /G MACHINE\IUSR_MACHINE:R
Regards,
------------------------------------------------------------------------
[2004-07-06 10:17:30] hartz at e-consult-ag dot de
I tried it by running PHP as CGI binary with the same result
------------------------------------------------------------------------
[2004-07-06 10:15:08] hartz at e-consult-ag dot de
No,
it happens only under iis 5.0. Under apache and windows 2000 it runs
without any problems.
------------------------------------------------------------------------
[2004-07-06 01:54:55] sniper@php.net
Does this happen with some other webserver, like Apache?
(or if you run PHP as CGI binary)
------------------------------------------------------------------------
The remainder of the comments for this report are too long. To view
the rest of the comments, please view the bug report online at
http://bugs.php.net/29001
--
Edit this bug report at http://bugs.php.net/?id=29001&edit=1