php-windows | 2003032
Date: 03/24/03
- Next message: Christoph Grottolo: "[PHP-WIN] Re: Can't get domxml working"
- Previous message: Chris Kranz: "RE: [PHP-WIN] Can't get domxml working"
- In reply to: Dave Marr: "[PHP-WIN] Unable to Fork error using exec() or system()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Can you not run your external programs in a batch file? Or will that
also run under "cmd /c" ?
chris kranz
fatcuban.com
-----Original Message-----
From: Dave Marr [mailto:dave <email protected>]
Sent: 24 March 2003 18:15
To: php-windows <email protected>
Subject: [PHP-WIN] Unable to Fork error using exec() or system()
I am using IIS6 and PHP 4.3.2-RC. Any time I try to use the exec() or
system() functions to run an external program, I get the "Unable to
Fork" error. I have execute rights on the applicaiton I am trying to
run. The problem is PHP prepends "cmd.exe /c" to any exec() or system()
calls. That means I need to give cmd.exe execute rights for the
anonymous web user account. This opens up a HUGE security breach, and I
was wondering if there are any plans to stop PHP from prepending that or
workarounds for the Unable to Fork error. I know many people must run
into this problem, there has to be a way around it!
Thanks,
Dave
-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php-- PHP Windows Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php
- Next message: Christoph Grottolo: "[PHP-WIN] Re: Can't get domxml working"
- Previous message: Chris Kranz: "RE: [PHP-WIN] Can't get domxml working"
- In reply to: Dave Marr: "[PHP-WIN] Unable to Fork error using exec() or system()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

