php nohup not working
<p>I used the pear system daemon class, that basically allows me to create a daemon that runs as user 1000 and group 1000.</p>

<p>It then uses the php exec function to execute the following code:</p>

<pre><code>nohup php merge.php 1 &gt; /dev/null 2&gt;&amp;1 &amp; echo $!
</code></pre>

<p>for some reason merge.php does not start executing. I have started thinking its a permission problem... </p>

<p>What can I do to fix this?</p>

<p>When I run the daemon as root, merge.php gets executed ... so it is definately a permissions problem.</p>

<p>merge.php is owned by webmaster and group apache.</p>
