I’m trying out the Symfony 2 platform for the first time and am having issues running the ‘php app/console’ command in shell.
To recap how i’ve set-up Symfony:
- I created a new subdomain and set it to run using php 5.3.x Fast CGI.
- I loaded Symfony and found everything to be working correctly… except…
- when I want to use the ‘php app/console’ commands (which are run using ssh), I get a php parsing error:
“Parse error: syntax error, unexpected T_STRING, expecting T_CONSTANT_ENCAPSED_STRING or ‘(’ in /home/…/Symfony/app/console on line 13”
I assume this means that the shell php command is not running 5.3. (Line 13 in app/console uses namespaces.) So my question is, how do I make it do that?