#26999 [Bgs->Opn]: system, exec, and passthru not working
| From: | khess at ahcctulsa dot com | Date: | Thu, 22 Jan 2004 03:19:07 +0000 |
| Subject: | #26999 [Bgs->Opn]: system, exec, and passthru not working | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-53742@lists.php.net to get a copy of this message | ||
ID: 26999
User updated by: khess at ahcctulsa dot com
Reported By: khess at ahcctulsa dot com
-Status: Bogus
+Status: Open
Bug Type: IIS related
Operating System: Windows 2000
PHP Version: 4.3.4
New Comment:
I am glad it works for you, but....is there a fix?
PHP works in all other aspects, but I have found many postings on this
subject and no real resolutions...I have uninstalled php and
reinstalled it and even went from PHP 4.3.4 to 4.3.3 with no better
results.
Is there a fix or a version that does work?
Previous Comments:
------------------------------------------------------------------------
[2004-01-21 19:01:25] sniper@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
It's something broken in your installation, this works fine for me.
------------------------------------------------------------------------
[2004-01-21 18:44:50] khess at ahcctulsa dot com
correct but dir doesn't work either...I have installed cygwin tools so
ls does work on other servers. There is some unresolved issue with PHP
and IIS, like a bad version of php4ts.dll and/or phpisapi.dll
------------------------------------------------------------------------
[2004-01-21 14:37:35] sniper@php.net
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
AFAIK, to get directory listing in windows, you use 'dir' command? :)
------------------------------------------------------------------------
[2004-01-21 14:31:18] khess at ahcctulsa dot com
Description:
------------
My scripts work at the command line and on other similarly configured
servers, but on two, in particular, it does not work.
<?
system("ls");
?>
Gives no output when called via a browser.
I have tried this on php ver. 4.3.3 and 4.3.4
Expected result:
----------------
a file and directory listing of the current directory
Actual result:
--------------
<blank page>
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=26999&edit=1