Re: Re: [PHP] Browser hangs with exec, HELP!!!!!

From: Date: Mon, 13 Nov 2000 18:40:18 +0000
Subject: Re: Re: [PHP] Browser hangs with exec, HELP!!!!!
Groups: php.general 
Request: Send a blank email to php-general+get-25005@lists.php.net to get a copy of this message
I'm pretty certain PHP is not the problem, but your code and/or configuration. If you send me your code, I'll see what I can do with it. I just did something similar and have no idea what is happening on your system. Chris On Mon, 13 Nov 2000, Juan Claudio Santana Saldaña wrote: > Date: Mon, 13 Nov 2000 10:18:13 -0600 > To: cjtech2000@yahoo.com > From: Juan Claudio Santana Saldaña <claudio@santana.net> > Reply-To: claudio@santana.net > Subject: Re: [PHP] Browser hangs with exec, HELP!!!!! > > > The process can run and be killed as nobody user. This is very > annoying... > Most of php is just great but this part sucks... > > Chris Carbaugh wrote: > > > The script should not wait for the commad to finish it you use > command > > > log 2>&1 &. This way, your redirecting both stderr and stdout to > file, > > and kicking the process to the background. > > > > One other thing to check is permissions. Since your shell script > is > > being invoked by your webserver, it will run as the use the web > server > > runs as. Ussually nobody:nogroup on apache. > > > > I bet user nobody can't kill the processes your your trying to kill > do > > to lack of permissions. By killall failing, it just might make > your > > shell script go defunct. Maybe but a 'su TheRightUser' in shell > > script? > > > > I quick and dirty way to see if it is permissions is to make your > web > > server run as root, WHICH YOU SHOULD NEVER DO, except for a quick > test > > on a controlled machine. And then you still shouldn't do it..... > > > > Chris

« previous php.general (#25005) next »