Re: [PHP] exec() sytem() problem with starting ext. prg

2002-05-20 Thread Alexander Saupe
What is a TTY (see below)? - Original Message - From: "Rasmus Lerdorf" <[EMAIL PROTECTED]> To: "Alexander Saupe" <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, May 20, 2002 2:06 PM Subject: Re: [PHP] exec() sytem() problem with startin

Re: [PHP] exec() sytem() problem with starting ext. prg

2002-05-20 Thread Rasmus Lerdorf
su - nobody (substitute your web server user id) then try to run the command The other problem can be that the app requires a TTY. -Rasmus On Mon, 20 May 2002, Alexander Saupe wrote: > Hello php-general, > > on a LAMP server I have the following problem: > > 1. playing around I tried to execut

Re: [PHP] exec() sytem() problem with starting ext. prg

2002-05-20 Thread Miguel Cruz
Have you checked is_readable() on the full pathname of the file? Perhaps one of the parent directories isn't accessible to the web server. miguel On Mon, 20 May 2002, Alexander Saupe wrote: > Hello php-general, > > on a LAMP server I have the following problem: > > 1. playing around I tried

[PHP] exec() sytem() problem with starting ext. prg

2002-05-20 Thread Alexander Saupe
Hello php-general, on a LAMP server I have the following problem: 1. playing around I tried to execute the linux df (diskfree) command with exec() or system() - no problem, works fine! 2. trying to start an application did not work! - the application which I am trying to start can be started by