The TYPO3 Flow command line script or sub process was executed with a 'apache2handler' PHP binary. Make sure that you specified a CLI capable PHP binary in your PATH or Flow's Settings.yaml.