put the executable into another directory rather than DOC_ROOT,
maybe you have reached apache security settings.
or try add `option +exec' to your apache conf, but be aware this maybe
a security problem to your site to do so.

On 11/24/05, Henry Castillo <[EMAIL PROTECTED]> wrote:
> Hi
> Still desperate
> DOCUMENT_ROOT is /var/www/html
> Check all settings at http://provi.voicenetworx.net:8080/t.php
> From the command line it runs perfectly:
> [EMAIL PROTECTED] html]# /var/www/html/myprog -E 123456789098.dat sample1.txt
> sample1.new
> (no output, it just creates the file .new)
>
> Here is the php I've created, fairly simple:
> <?php
> exec("/var/www/html/myprog -E 123456789098.dat sample1.txt
> sample1.new");
> phpinfo();
> ?>
>
>
>
> On 11/22/05, n.g. <[EMAIL PROTECTED]> wrote:
> >
> > is /var/www/html your web root dir ?
> > maybe its the plobrem.
> >
> > On 11/23/05, Henry Castillo <[EMAIL PROTECTED]> 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 :-)
> >
>
>


--
Tomorrow will be a good day :-)

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to