On Monday 16 July 2001 10:37 am, you wrote:
> > On Monday 16 July 2001 09:42 am, you wrote:
> > > > I tried to execute the following command from the web interface using
> > > > a system call
> > > > /usr/bin/play a_wave_file.wav
> > > >
> > > > I tried exec, system, passthru, and shell_exec. None of them worked,
> > > > that is I didn't hear any sound played. ...
> > >
> > > Does it work from the shell if you su to the web server user id and try
> > > to run it?  99% of shell exec issues are permission-related.
> > >
> > > -Rasmus
> >
> > Yes, I su as root and then su as the web server user id, it worked. I
> > also check the permission is already 755.
>
> Ok, and does this play program actually work without a controlling tty?

I can only guess what you mean here, but I think that's a good point. Maybe 
the play program wouldn't work withough a controlling tty. Do you know how 
to check, or any work around?

Thanks.
Reuben D. Budiardja



--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to