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

Closed
auzankyu opened this Issue Oct 23, 2014 · 11 comments

Projects

None yet

8 participants

@auzankyu

hello im using windows and xampp to install yii2-start

why i have error code 1314 ?

@vova07
Owner
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

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

@auzankyu

how can we use gii on the backend ?

@vova07
Owner
vova07 commented Oct 23, 2014

You are welcome!

@vova07 vova07 closed this Oct 23, 2014
@vova07
Owner
vova07 commented Oct 23, 2014

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

@forestallers

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
pafcosta commented Apr 8, 2015

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

@jcfiorenzano

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

@yonifine

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

@LeGlAndrelGend

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

@bogvsdev

thanks! Launching as administrator works just fine!

@LukeTowers LukeTowers referenced this issue in octobercms/docs Feb 21, 2017
Open

Help with setting up public folder #224

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment