Installing Laravel 4.1 in Windows 7 // Make .phar file globally available to windows command line

Viewed 16315

i have some problems installing Laravel 4.1 in Windows 7 via the first method explained in the Laravel documentation ( http://laravel.com/docs/installation#install-laravel ).

So I downloaded the laravel.phar file and put it in my path ( System32 ). Which would be the equivalent of /usr/bin in linux based systems?

( I also added .PHAR in the PATHEXT system variable ).

When i ran the laravel command from the command line it didn't know how to open it, so i chose to open it with php.exe. Now, when I run the composer command it says: "Could not open input file: C:\Windows\system32\laravel.phar".

I suppose it's less a problem with laravel itself but my limited knowledge of the Windows command line. The installation via composer works fine.

Any help is appreciated.


To rephrase and clarify this question: How do I make a .phar file globally available to the Windows command line?

3 Answers
Related