mirror of
https://github.com/php/web-doc.git
synced 2025-08-10 02:56:24 +00:00
Fix symlinking on Windows cmd
`/j` creates a junction point what is more like a hardlink. Also, on Windows the arguments are swapped (link, target).
This commit is contained in:
@ -74,12 +74,12 @@ $ git clone http://git.php.net/repository/web/php.git /home/sites/myphpnet/
|
||||
$ ln -s /tmp/phd/output/php-web /home/sites/myphpnet/manual/en
|
||||
```
|
||||
|
||||
Symlinking can still be done on Windows. Just make sure you run `cmd` *as Administrator*.
|
||||
Symlinking can also be done on Windows. Just make sure you run `cmd` *as Administrator*.
|
||||
|
||||
```
|
||||
$ cd \home\sites\myphpnet\manual\
|
||||
$ rmdir /S en
|
||||
$ mklink /J \tmp\phd\output\web-php en
|
||||
$ mklink /D en \tmp\phd\output\web-php
|
||||
```
|
||||
|
||||
### Run a webserver
|
||||
|
Reference in New Issue
Block a user