Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

symlink(): Cannot create symlink, error code(1314) #81

Closed
auzankyu opened this issue Oct 23, 2014 · 12 comments
Closed

symlink(): Cannot create symlink, error code(1314) #81

auzankyu opened this issue Oct 23, 2014 · 12 comments

Comments

@auzankyu
Copy link

@auzankyu auzankyu commented Oct 23, 2014

hello im using windows and xampp to install yii2-start

why i have error code 1314 ?

@vova07

This comment has been minimized.

Copy link
Owner

@vova07 vova07 commented Oct 23, 2014

I'm not sure how to fix this problem for Windows XAMPP, but in OpenServer this problem can be fixed by running the server as administrator, however if this is not possible you simple can disable symlink here by writing linkAssets => false.

@auzankyu

This comment has been minimized.

Copy link
Author

@auzankyu auzankyu commented Oct 23, 2014

thanks vova it's work for me by disable symlink :) solved !

@auzankyu

This comment has been minimized.

Copy link
Author

@auzankyu auzankyu commented Oct 23, 2014

how can we use gii on the backend ?

@vova07

This comment has been minimized.

Copy link
Owner

@vova07 vova07 commented Oct 23, 2014

You are welcome!

@vova07 vova07 closed this Oct 23, 2014
@vova07

This comment has been minimized.

Copy link
Owner

@vova07 vova07 commented Oct 23, 2014

The same like on frontend. /backend/gii/default/index/

@forestallers

This comment has been minimized.

Copy link

@forestallers forestallers commented Apr 4, 2015

On IIS (Internet Information Services), you need to set permissions to allow the creation of symbolic links.

Go to Local Security Policy -> Local Policies -> User Rights Assignment and right click on Create symbolic links -> Properties -> Add User or Group and add the "IUSR" user, which should be the user associated with IIS.
A restart may be required.

If this doesn't work, go to IIS Manager -> Authentication -> select Anonymous Authentication -> Edit and enter your current logged in user, which should be an administrator.
Hit OK and now the symlink() function in php should work fine.

@pafcosta

This comment has been minimized.

Copy link

@pafcosta pafcosta commented Apr 8, 2015

With EasyPHP, I started the server as "execute as administrator". It worked.

@jcfiorenzano

This comment has been minimized.

Copy link

@jcfiorenzano jcfiorenzano commented May 20, 2015

open the xampp control with administrator priviligies and start the apache server, this solved the symlink problem with xampp and windows

@yonifine

This comment has been minimized.

Copy link

@yonifine yonifine commented May 28, 2015

@jcfiorenzano thanks man! simple and clean. it worked!

@LeGlAndrelGend

This comment has been minimized.

Copy link

@LeGlAndrelGend LeGlAndrelGend commented Sep 21, 2015

Thank you very much! I started my xampp by administrator.

@bogvsdev

This comment has been minimized.

Copy link

@bogvsdev bogvsdev commented Oct 28, 2016

thanks! Launching as administrator works just fine!

@mhl130

This comment has been minimized.

Copy link

@mhl130 mhl130 commented Mar 17, 2017

thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
9 participants
You can’t perform that action at this time.