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:
22
22
$ sudo chmod a+x /usr/local/bin/symfony
23
23
24
24
# 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'));"
26
26
27
27
.. note ::
28
28
29
29
In Linux and macOS, a global ``symfony `` command is created. In Windows,
30
30
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:
33
33
34
34
.. code-block :: terminal
35
35
36
36
# for example, if WAMP is used ...
37
37
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
38
41
# ... then, execute the command as:
39
42
c:\> symfony
40
43
You can’t perform that action at this time.
0 commit comments