Em 16/07/2010 12:18, Jim Lucas escreveu:

I tried running the same script, and found that the php binary is not in my 
path.

run this

echo passthru('which php');

Also, modify your existing exec() command to the following and it will capture
errors too.

exec('php b.php>  output.txt 2>&1&');

After running this is when I noticed it say "sh: php: not found"




You're right about the path role in the issue. My code is working now, and the solution is described in my reply to Bob's post.

Thank you.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to