When I run 'php53 composer.phar create-project symfony/framework-standard-edition path 2.3.0' I get this error 'Parse error: syntax error, unexpected T_STRING in' when using PHP > 5.3 conventions. I suspect that composer.phar is looking for php, instead of utilizing php53. Is there a workaround for making composer find a valid version of PHP? asked 07 Aug '13, 15:49 quantegy |
Instead of a bash alias, create a symlink to php53 in your For example:
Hope that helps! answered 20 Aug '13, 19:26 seanf Sean, thanks so much! You saved the day =)
(20 Aug '13, 20:05)
quantegy
Thank you for this! I had an alias setup but couldn't run "app/console". Also, I was using Magallanes for deployment and it tries to do something like
(18 Sep '14, 16:19)
mattsnowboard
|
You could try to add an alias,
If this fails you would have to edit the script itself. answered 07 Aug '13, 17:08 johns Sorry, but that didn't work. It produced the same result. The Phar script is compiled so I don't think I can edit it. I'll see if I can.
(07 Aug '13, 17:27)
quantegy
|