Re: Can't execute external program
| From: | Henry Castillo | Date: | Tue, 22 Nov 2005 19:31:12 +0000 |
| Subject: | Re: Can't execute external program | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-226296@lists.php.net to get a copy of this message | ||
That was on of the first things I checked:
safe mode is set to off
Any ideas...
Henry
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
> Henry
The 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