php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #21067 System () function output
Submitted: 2002-12-17 09:44 UTC Modified: 2002-12-17 09:47 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:0 of 0 (0.0%)
From: joao dot pires at iscte dot pt Assigned:
Status: Not a bug Package: Program Execution
PHP Version: 4.2.0 OS: Linux
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: joao dot pires at iscte dot pt
New email:
PHP Version: OS:

 

 [2002-12-17 09:44 UTC] joao dot pires at iscte dot pt
I?m a beginner in the PHP language and my problem is:

1) I have a file with this code: system ("files/grid_info -a); The main goal is to get the output of the C program "grid_info" that receive an argument "a";

2) The system() function works on my machine that runs with this environment: Linux 2.4.9 / Apache 1.3.20 / PHP 4.0.6, but on a machine with a diferent configuration such: Linux 2.2.16 / Apache 1.3.12 / PHP 4.0.0, the output doesn?t appear on the browser. I saw the log file (/var/log/httpd/error_log), and the error information related with this problem is: "sh: /grid_info:No such file or directory".

If you have an idea to solve this problem I appreciate.

Best regards.
Jo?o Paulo Pires - Portugal

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-12-17 09:47 UTC] derick@php.net
Thank you for taking the time to report a problem with PHP.
Unfortunately you are not using a current version of PHP -- 
the problem might already be fixed. Please download a new
PHP version from http://www.php.net/downloads.php

If you are able to reproduce the bug with one of the latest
versions of PHP, please change the PHP version on this bug report
to the version you tested and change the status back to "Open".
Again, thank you for your continued support of PHP.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 08:01:27 2024 UTC