nohup - no such file or directory

That's happening because you don't have a file named /usr/local/bin/php -v. Since you put it in quotes, the entire string is being treated as the argument.

Try removing the quotes.

nohup /usr/local/bin/php -v