php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2699 all php commands work except exec(); system();
Submitted: 1999-11-11 13:38 UTC Modified: 1999-12-15 14:58 UTC
From: stuartla at iafrica dot com Assigned:
Status: Closed Package: Other
PHP Version: 3.0.12 OS: linux S.u.S.E 6.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: stuartla at iafrica dot com
New email:
PHP Version: OS:

 

 [1999-11-11 13:38 UTC] stuartla at iafrica dot com
I installed apache and mod_php using yast.
All the other commands work eg. phpversion(); echo etc.

I get the error Document contains no data if i use this script...
<?php
system("ls -al");
?>

If i execute this script i get a reply...
<?php
system("ls -al");
echo ("testing");
?>
The reply is "testing".

Anyone had this problem?
Please help urgently if possible.

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [1999-12-15 14:58 UTC] sas at cvs dot php dot net
I guess SuSE has screwed up something in the installation path. You are invited to install PHP from the source.
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Sun Jan 05 02:01:28 2025 UTC