PHP built-in server redirect logs
<p>I need to redirect my php built in server log file into a file.</p>

<p>i try : </p>

<pre><code>php -S adress:port -t . &gt; logs.txt
</code></pre>

<p>the problem is it's just putting inside the launch text.</p>

<p>and <code>logs.txt 2&gt;&amp;1</code> </p>

<p>but it's make my page php look like my error </p>

<pre><code>PHP 5.5.9-1ubuntu4.14 Development Server started at Sat Feb 13 09:40:05 2016 Listening on XXXXXX .... 
</code></pre>

<p>Any Idea ?</p>