#14897 [Com]: "unable to fork" - cause & solution (well, at least for me)
| From: | h dot siedler at liebl dot at | Date: | Wed, 27 Nov 2002 12:40:43 +0000 |
| Subject: | #14897 [Com]: "unable to fork" - cause & solution (well, at least for me) | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-25953@lists.php.net to get a copy of this message | ||
ID: 14897
Comment by: h.siedler@liebl.at
Reported By: louis@steelbytes.com
Status: No Feedback
Bug Type: Program Execution
Operating System: Windows 2000
PHP Version: 4.1.1
New Comment:
under iis5.0 and php4.0.6 there's always the message "unable to fork"
by using the exec() command.The same with system() command. Is there
someway that works?
Previous Comments:
------------------------------------------------------------------------
[2002-11-16 01:00:02] php-bugs@lists.php.net
No feedback was provided for this bug for over 2 weeks, so it is
being suspended automatically. If you are able to provide the
information that was originally requested, please do so and change
the status of the bug back to "Open".
------------------------------------------------------------------------
[2002-10-31 14:51:10] iliaa@php.net
Please try using this CVS snapshot:
http://snaps.php.net/php4-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php4-win32-latest.zip
------------------------------------------------------------------------
[2002-01-21 07:16:43] louis@steelbytes.com
re enable access to cmd.exe for php:
if you are using IIS, then PHP will be run using the IWAM_<machinename>
account. so you would have to set the right for cmd.exe to include this
account.
if you are using a different web server, then I have no idea what
account would need access to cmd.exe
re stopping php from prepending "cmd /c ":
not that I know of, and hence the bug report that I posted requesting
the developers changing it.
------------------------------------------------------------------------
[2002-01-21 06:32:42] davidfelton@codemasters.com
Is there a way to enable access to cmd.exe so that it is only available
to php.exe?
Or a way of stopping php prepending "cmd.exe /c " in front of any calls
to exec?
thanks.
------------------------------------------------------------------------
[2002-01-17 19:40:26] louis@steelbytes.com
this is a suggestion to the developers to do, because the only way for
a script writer to solve this is to enabled access to cmd.exe which
many would perfer to not have to do.
------------------------------------------------------------------------
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/14897
--
Edit this bug report at http://bugs.php.net/?id=14897&edit=1