sree4u Posted July 2, 2013 Share Posted July 2, 2013 Dear all, I have a php file which calls the hashdeep command. The problem which i am encountering is, it is executing the script partially. The code is given below:- <?php$output = shell_exec('nohup /usr/local/bin/hashdeep -c md5,sha1 -r /opt/lampp/htdocs/enroll/192.168.229.128/ > /opt/lampp/htdocs/enroll/192.168.229.128/192.168.229.128.log');echo "<pre>$output</pre>";?>It is creating the log file within the directory, but with zero bytes. Please help in this regards. Regards, Sreejith Quote Link to comment https://forums.phpfreaks.com/topic/279774-unable-to-execute-a-shell-script/ Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.