I wrote a small script to run as a daemon, everything seems to work when I run the command in unix:
everything seems to work correctly, when I terminate that script and us the following, de script isn't running in the background:
php script.php &
What am I doing wrong? could it be a server problem or a script problem?