exec etc. on Windows: why does it use cmd.exe ?
| From: | Kai Schaetzl | Date: | Thu, 06 Jun 2002 17:31:50 +0000 |
| Subject: | exec etc. on Windows: why does it use cmd.exe ? | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-84952@lists.php.net to get a copy of this message | ||
The shell execution commands on Windows execute a "cmd /c program"
for running command-line programs. I have seen bug reports asking for
a change but there hasn't been one. What's the reason for using
"cmd"? Isn't it possible to directly execute those programs?
The problem with using cmd.exe is that the IUSR_machine needs to have
proper permissions to it which is a general security risk. It also
creates problems because IIS 6 removes these permissions by default.
(I have seen various postings about the typical "cannot fork" error
after this in these groups but most of them weren't answered.)
On a different topic: I started to get the lists from news.php.net recently. I tried to post
there but instead I got this warning message:
> confirmation email already bounced once
which is simply not true, there sure wasn't any mail sent to me. If the server doesn't
allow
for anonymous posting it should reject messages right-away instead of accepting them. This
should also be clarified here:
> Newsgroups
> Many of the mailing lists listed here are also reflected onto the news server at
news.php.net.
>
Kai
--
Kai Schätzl, Berlin, Germany
Get your web at Conactive Internet Services: http://www.conactive.com
IE-Center: http://ie5.de & http://msie.winware.org