1

No matter what wp cli command I run. I always see the content of two plugin.php files in the terminal before the actual command results

marcelgro
  • 121
  • 3
  • Just a guess: maybe php-cli is set up to not allow short open tag but the apache/fcgi-version is, so it doesn't see those files as containing PHP code and prints their content? – janh Oct 06 '17 at 14:06
  • Solved the problem. Thank you very much! – marcelgro Oct 06 '17 at 14:08

1 Answers1

1

php-cli was set up to not allow short open tag

See this question run php from command line with short tags to learn how to allow short open tags

marcelgro
  • 121
  • 3