HI Guys… How would I daemonize a php script so that it can take a directory path as input via CLI on linux?
php scriptname.php --path=my/path/argument
Then, in the script you will find $_SERVER[‘argc’][‘path’] set to “my/path/argument”
HI Guys… How would I daemonize a php script so that it can take a directory path as input via CLI on linux?
php scriptname.php --path=my/path/argument
Then, in the script you will find $_SERVER[‘argc’][‘path’] set to “my/path/argument”