The script requires that PHP has cli built in, this means being able to read options from the command line. The script will still run without this support but you won't be able to choose siteaccess and add some other options.
We should probably add a check for argv existance before using it.