Re: Can't execute external program
| From: | n.g. | Date: | Wed, 23 Nov 2005 04:50:04 +0000 |
| Subject: | Re: Can't execute external program | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-226325@lists.php.net to get a copy of this message | ||
is /var/www/html your web root dir ?
maybe its the plobrem.
On 11/23/05, Henry Castillo <henryperu@gmail.com> wrote:
> 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
>
>
--
Tomorrow will be a good day :-)