Re: access a file

From: Date: Fri, 13 Aug 2004 13:13:58 +0000
Subject: Re: access a file
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-193679@lists.php.net to get a copy of this message
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

« previous php.general (#193679) next »