Re: Can't execute external program
| From: | Ben | Date: | Mon, 21 Nov 2005 18:10:38 +0000 |
| Subject: | Re: Can't execute external program | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-226228@lists.php.net to get a copy of this message | ||
Voip tech said the following on 11/20/2005 10:31 PM:
Hello, I cannot get exec(), system() or passthru() to run an extenal program. From the command line it runs perfectly:<snip>
I'm getting frustrated, Any help will be deeply appreciated HenryThe answer is probably in your php.ini. Look into whether you are running in safe mode or not, and if you are whether you have your program in the safe_mode_exec_dir or not. Also check disable_functions to see if any of the ones you are having trouble with are listed. - Ben