When running the following on the command line it will be suspended until I issue the fg command:/usr/bin/php -r 'phpinfo();' &This is the case regardless if the PHP code is contained in a file with a shebang of #!/usr/bin/php.I am running CentOS and bash shell.
What is Best Practice for running PHP in background?
bash;php;background process