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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 14:01:31 2024 UTC