Start PHP5.4 built-in server in background
nohup php -S 0.0.0.0:57152 > /dev/null 2>&1 &
nohup: Do not terminate this process even when the stty is cut off.
> /dev/null: stdout goes to /dev/null (which is a dummy device that does not record any output).
2>&1: stderr also goes to the stdout (which is already redirected to /dev/null).
&: at the end means to run this command as a background task.
Written by 家儒
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Php
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#