Thanks documenting this and walking us through it. I have question regarding how to start the PHP built-in web server automatically, as part of the machine start-up process, for instance.

I have a small PHP application that I wish to run locally on a Linux Lite pc. Is it enough to include the php -S command in rc.local? Do I need to have a nohup with that in order for the server to continue running?

I'm thinking that if I can get the server to start automatically when the machine boots up, then all I have to do is give the user a bookmark like localhost:8000/myapp/index.php and they can then run the application script very easily.

Thanks again.