I have the following simple command:
$process = new Process("php /Users/Name/Sites/App/app/../bin/console cache:clear --env=prod");
$process->run();
when I try to run this it gives me:
string(153) " Parse error: parse error in /Users/Name/Sites/App/vendor/symfony/symfony/src/Symfony/Component/DependencyInjection/Container.php on line 278 "
What is wrong?