-rwxr-xr-x 1 root root 133 Aug 13 15:48 zeed.php group and owner like this , how does it workable ....plz help
thanx curlys ----- Original Message ----- From: "John Holmes" <[EMAIL PROTECTED]> To: "Curlys" <[EMAIL PROTECTED]> Cc: "PHP" <[EMAIL PROTECTED]> Sent: Friday, August 13, 2004 7:13 PM Subject: Re: [PHP] access a file Curlys wrote: > when run this script from the command prompt, it is working. > > <?php > > shell_exec ('killall -HUP abc.pl'); > > ?> > <html> > <body> Terminated the application ...........!!!! </body> > </html> > > but , when it is put this file in a apache web server run via web browser > ( accessing a URL with a Link ) it doesn't work . what should i have to do ? The PHP script runs as the Apache user, which is generally 'nobody', so it probably doesn't have permission to execute the requested command. -- ---John Holmes... Amazon Wishlist: www.amazon.com/o/registry/3BEXC84AB3A5E/ php|architect: The Magazine for PHP Professionals – www.phparch.com -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php