5

I am using YII2 for my project,I have created a project(advanced template) using composer, now I need to start another project, firstly I have update composer(composer self-update), it is fine. now I am trying to complete installation process of YII2 advanced template on my lampp using composer, on the step Configuring Composer getting following error,

[ErrorException]

touch(): Utime failed: Permission denied

Can someone help me, why the problem is occur in 2nd time installation?
Thanks

GAMITG
  • 3,670
  • 7
  • 30
  • 50
ksn
  • 51
  • 1

1 Answers1

0

You can run composer as root user or use the following command

sudo composer create-project --prefer-dist yiisoft/yii2-app-advanced [project-name] 
Simon Tsang
  • 58
  • 1
  • 10