com web/doc: Fix symlinking on Windows cmd: tutorial/local-setup.md

[email protected] (Christoph Michael Becker) Thu, 10 Dec 2020 16:30:50 +0000
Newsgroups php.doc.web
Message-ID <[email protected]>
Commit:    71278a35b81ffe074c95ab625a14e4f01a76d0ea=0AAuthor:    Christoph =
M. Becker <[email protected]>         Thu, 10 Dec 2020 17:30:50 +0100=0APar=
ents:   aa24ddb51f9ed3824ef1d2643d9f5072356a2a62=0ABranches:  master=0A=0AL=
ink:       http://git.php.net/?p=3Dweb/doc.git;a=3Dcommitdiff;h=3D71278a35b=
81ffe074c95ab625a14e4f01a76d0ea=0A=0ALog:=0AFix symlinking on Windows cmd=
=0A=0A`/j` creates a junction point what is more like a hardlink.  Also, on=
=0AWindows the arguments are swapped (link, target).=0A=0AChanged paths:=0A=
  M  tutorial/local-setup.md=0A=0A=0ADiff:=0Adiff --git a/tutorial/local-se=
tup.md b/tutorial/local-setup.md=0Aindex 9f20517..5ac9483 100644=0A--- a/tu=
torial/local-setup.md=0A+++ b/tutorial/local-setup.md=0A@@ -74,12 +74,12 @@=
 $ git clone http://git.php.net/repository/web/php.git /home/sites/myphpnet=
/=0A $ ln -s /tmp/phd/output/php-web /home/sites/myphpnet/manual/en=0A ```=
=0A =0A-Symlinking can still be done on Windows. Just make sure you run `cm=
d` *as Administrator*.=0A+Symlinking can also be done on Windows. Just make=
 sure you run `cmd` *as Administrator*.=0A =0A ```=0A $ cd \home\sites\myph=
pnet\manual\=0A $ rmdir /S en=0A-$ mklink /J \tmp\phd\output\web-php en=0A+=
$ mklink /D en \tmp\phd\output\web-php=0A ```=0A =0A ### Run a webserver=0A