linux - How to change php from cgi-fcg to php cli on Centos 7

one text

Solution:

As described in error message the command php -r demand peace of PHP code as parameter. For example you can print 'Hello World!` in next way:

php -r "echo 'Hello World!';"

Source