php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #26999 system, exec, and passthru not working
Submitted: 2004-01-21 14:31 UTC Modified: 2004-01-21 22:23 UTC
From: khess at ahcctulsa dot com Assigned:
Status: Not a bug Package: IIS related
PHP Version: 4.3.4 OS: Windows 2000
Private report: No CVE-ID: None
 [2004-01-21 14:31 UTC] 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>

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-01-21 14:37 UTC] 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 18:44 UTC] 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 19:01 UTC] 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 22:19 UTC] khess at ahcctulsa dot com
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?
 [2004-01-21 22:23 UTC] sniper@php.net
Please don't reopen this anymore, there is NO bug here.
Ask further support questions elsewhere, this bug system is not any discussion forum.

 
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Thu Jun 01 23:03:37 2023 UTC