Hey guys..
Maybe too much food over the weekend.. Maybe brain cells are fried!
Created a basic/simple 5 line php test, It runs so chown/chmod are ok.
However, when I then run it as a background process, and check the
procTBL, the PID is there.. the process never leaves, unless I
manually kill it.. so... what have I forgotten.. I know.. the homer
simpson (doh!!) is going to be painful on this one..
my test php
------------------------------
#!/usr/bin/php
<?php
sleep(5);
print "running child_test \n";
exit();
?>
-----------------------------
running from the cmd line..
/cloud_nfs/child_test.php << runs fine, and not in procTBL after running..
trying to background from the cmd line..
/cloud_nfs/child_test.php & << never goes from procTBL unless
manually killed
/cloud_nfs/child_test.php 2>&1 & << never goes from procTBL unless
manually killed
So.. what did I screw up to run in background, and be removed from procTBL..
Thanks...
(be nice!!)
Show replies by date