|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2002-12-17 09:47 UTC] derick@php.net
|
|||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 15:00:02 2025 UTC |
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