PDA

View Full Version : Starting PHP CLI script at start up



pan69
December 1st, 2008, 09:24 AM
Hi. I've created a simple socket server in PHP that runs from the command line. I want to start the script (called server.php) at start up time. More specific, I want the script to run as a specific user since the script performs some file system access.

What would be the best way to do this?

Any help very much appreciated.

Thanks,
Luke