ID: 10240
Updated by: sander
Reported By: [EMAIL PROTECTED]
Old Status: Open
Status: Feedback
Bug Type: IIS related
Operating System: Windows ME/2000
PHP Version: 4.0.4pl1
New Comment:

Can you try the latest CVS? (Windows builds at http://php-dev-win.dhs.org/, source at 
snaps.php.net or via CVS)
Using PHP 4.0.6 on Windows probably won't work; there were many problems with 
exec-alike functions on 4.0.6 which are fixed in the latest CVS.

And if it still doesn't work, can you provide a sample script?

Previous Comments:
------------------------------------------------------------------------

[2001-04-09 06:51:58] [EMAIL PROTECTED]

I cannot have output of executed programs from functions like passthru or exec. The 
same script runs well on Linux php (it is version 3.0 on Linux).
I tried on Windows something like 

passthru("command /c dir");

and on Linux

passthru("/bin/ls");

On windows ME I'm using the CGI version of PHP, on PWS, on 2000 I 'm using the CGI 
version with IIS. On Linux, I don't know exactly what's going on, I know only that it 
runs Apache. With passthru the CGI execution takes TOO MUCH time, and with exec it 
doesn't fill the return array with the output.


------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=10240&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to