php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #885 strange exec, popen , ... behavior
Submitted: 1998-10-30 10:24 UTC Modified: 1999-06-01 16:02 UTC
From: willi at te dot net dot ua Assigned:
Status: Closed Package: Misbehaving function
PHP Version: 3.0.5 OS: SCO 3.2
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: willi at te dot net dot ua
New email:
PHP Version: OS:

 

 [1998-10-30 10:24 UTC] willi at te dot net dot ua
<?

	exec ("/bin/ls", $s);
	for ($i=0; $i<count($s); $i++) echo $s[$i]."<BR>";
?>

After few days running apache 1.3.2 with PHP this script stops outputting directory listing.
In apache error_log: ": is not an identifier".

When I restart apache, script work properly...

safe_mode = off

PHP compiled with Oracle 7, mysql, dbase, gd, libz

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-06-01 16:02 UTC] jim at cvs dot php dot net
No response, so closing.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Sun Jun 28 16:00:01 2026 UTC