Can I create a server php variable?
<p>I want to have my own variable that would be (most likely an array) storing what my php application is up to right now.</p>

<p>The application can trigger few processes that are in background (like downloading files) and I want to have a list what is being currently processed. </p>

<p>For example </p>

<ul>
<li>if php calls exec() that will be downloading for 15mins </li>
<li>and then another download starts</li>
<li>and another download starts </li>
</ul>

<p>then if I access my application I want to be able to see that <code>3 downloads</code> are in process. If none of them finished yet.</p>

<p>Can do that? Only in memory, not storing anything on the disk?</p>

<p>I thought that the solution would be a some kind of server variable.</p>
