PHP symlink() function fails on Windows 7 with the error:
Warning: symlink(): Cannot create symlink, error code(3) in C:\\xampp\\htdocs\\…\\lib\\model\\doct
About PHP CLI on windows OS: Do not forget to start the console with Run as Administrator else symlink will return false and raise the following error:
Run as Administrator
symlink
false
Warning: symlink(): Cannot create symlink, error code(1314)