|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2001-11-09 12:22 UTC] sander@php.net
[2001-12-01 15:35 UTC] sander@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Nov 08 08:00:01 2025 UTC |
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.