- Create a file called
Add following code to this file
<?php $original = ''; $copy = ''; symlink($original, $copy); echo 'done'; ?>
Original is the the path of the original folder which you want to create symlink from.
Target is the the path to the folder where you need the symlink created to.
- Open a new tab in your browser. Type in your
www.domainName.com/symlinkcreate.php. Hit Enter.
- If the screen says 'done'. The symlink is successfully created. Else the screen will show error.