RE: [PHP-WIN] Exec() In Windows

From: Date: Thu, 05 Apr 2001 03:09:34 +0000
Subject: RE: [PHP-WIN] Exec() In Windows
References: 1  Groups: php.windows 
Request: Send a blank email to php-windows+get-6523@lists.php.net to get a copy of this message
It's not always the best idea to hop onto a mailing list owned by the developers of a scripting language and accuse them of making 'stupid' decisions. If you feel that this issue is major, perhaps you should either join the developers list and make the suggestion in a nicer manner, or gain CVS access and make the contribution yourself. </soapbox> > -----Original Message----- > From: Jason Gan [mailto:Jason@hspace.net] > Sent: April 4, 2001 7:10 PM > To: php-windows@lists.php.net > Subject: RE: [PHP-WIN] Exec() In Windows > > > Dear Ladies and Gents, > > That error message "Unable to fork" is stupid, because fork is > not supported > under Windows, as it is a Unix command to fork two processes. Windows uses > multi-threading instead. > They should just rename the error message to "Identified PHP4 error". > > :0) > > -- Jason > > > > -----Original Message----- > From: Olivier Hubert [mailto:olivier.hubert@mail.transc.com] > Sent: Thursday, 5 April 2001 8:06 AM > To: zugut; php-windows@lists.php.net > Subject: Re: [PHP-WIN] Exec() In Windows > > > Hi, > > You've probably already looked into this, but I just wanted > to be sure: > have you checked the persmissions on "Application.exe" ? I > believe PHP uses > IUSR_Computer (where Computer is your computer name) to exec() anything so > if IUSR_Computer doesn't have the rights to read+execute the program, it > will return an error message. > > Hope this helps! > > Olivier > > >Hi, > > > >I have the same problem, I don't understand the problem. > > > > > > > >"Keith Stevenson" <keiths@support-works.com> wrote in message > >news:551A28A372F7D211A40600A0C9CC6D431A69A0@hornbill.com... > >> Hi, > >> Im having a Problem running an application from a PHP page using the > >> Exec() function (as well as all the other program execution > fuctions) on > a > >> Windows NT Server running Apache. > >> > >> The code I attempt to run is : $ReturnVal = exec("Application.exe"); > >> > >> It returns with Unable to Fork.... > >> > >> Does any body have any idea on how to fix this or an > alternative so I can > >> just run the damm application.... > >> > >> Cheers > >> > >> > >> -- > >> PHP Windows Mailing List (http://www.php.net/) > >> To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > >> For additional commands, e-mail: php-windows-help@lists.php.net > >> To contact the list administrators, e-mail: > php-list-admin@lists.php.net > >> > > > > > > > >-- > >PHP Windows Mailing List (http://www.php.net/) > >To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > >For additional commands, e-mail: php-windows-help@lists.php.net > >To contact the list administrators, e-mail: php-list-admin@lists.php.net > > > > -- > PHP Windows Mailing List (http://www.php.net/) > To unsubscribe, e-mail: php-windows-unsubscribe@lists.php.net > For additional commands, e-mail: php-windows-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net > >

« previous php.windows (#6523) next »