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



Reply via email to