File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -22,19 +22,22 @@ executable that needs to be installed on your system only once:
2222 $ sudo chmod a+x /usr/local/bin/symfony
2323
2424 # Windows systems
25- c:\> php -r "readfile(' https://symfony.com/installer');" > symfony
25+ c:\> php -r "file_put_contents('symfony', file_get_contents(' https://symfony.com/installer'));"
2626
2727 .. note ::
2828
2929 In Linux and macOS, a global ``symfony `` command is created. In Windows,
3030 move the ``symfony `` file to a directory that's included in the ``PATH ``
31- environment variable to create the global command or move it to any other
32- directory convenient for you:
31+ environment variable and create a `` symfony.bat `` file to create the global
32+ command or move it to any other directory convenient for you:
3333
3434 .. code-block :: terminal
3535
3636 # for example, if WAMP is used ...
3737 c:\> move symfony c:\wamp\bin\php
38+ # create symfony.bat in the same folder
39+ c:\> cd c:\wamp\bin\php
40+ c:\> (echo @ECHO OFF & echo php "%~dp0symfony" %*) > symfony.bat
3841 # ... then, execute the command as:
3942 c:\> symfony
4043
You can’t perform that action at this time.
0 commit comments