From:             [EMAIL PROTECTED]
Operating system: Linux
PHP version:      4.2.0
PHP Bug Type:     Program Execution
Bug description:  System () function output

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
-- 
Edit bug report at http://bugs.php.net/?id=21067&edit=1
-- 
Try a CVS snapshot:         http://bugs.php.net/fix.php?id=21067&r=trysnapshot
Fixed in CVS:               http://bugs.php.net/fix.php?id=21067&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=21067&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=21067&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=21067&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=21067&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=21067&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=21067&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=21067&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=21067&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=21067&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=21067&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=21067&r=isapi

Reply via email to