I've been trying for the last hours to install Laravel 4 on my dreamhost account but I keep getting this error:
Warning: Unexpected character in input: '\' (ASCII=92) state=1 in /home/user/test/artisan on line 46
Parse error: syntax error, unexpected T_STRING in /home/user/test/artisan on line 46
When I run
/usr/local/bin/php-5.4 -d memory_limit=256M composer.phar create-project laravel/laravel test
I've read that it may be because I use the wrong php version, but I've run the command above with
- /usr/local/bin/php-5.4
- /usr/local/bin/php-5.3
- /usr/local/php53/bin/php
- /usr/local/php54/bin/php
With the same result. Any ideas? Thanks in advance!