0

I tried to install Magento 2.2.6 in my local server everything is fine actually i reach last stage(Step 6: Install) of installation but there i am facing issue like failed to open stream: Permission denied.

enter image description here

Any help would be appreciated.

Thanks!

2
  • Please give the permission to all root folder. Nov 1, 2018 at 12:25
  • But how can i changes permission in local server? Nov 1, 2018 at 12:31

1 Answer 1

0

You need to delete generated folder content.

use below commands --

rm -rf var/cache/* generated/*

chmod -R 777 var/ pub/ generated/

14
  • This commands are run in root ? Nov 1, 2018 at 12:30
  • yes, in root folder Nov 1, 2018 at 12:31
  • Ohk ! Let me try Nov 1, 2018 at 12:31
  • getting this error 'rm' is not recognized as an internal or external comman after first command run. Nov 1, 2018 at 12:33
  • 1
    then you can try deleting generated folder manually and set read-write permission to var and generated folder Nov 1, 2018 at 12:37

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge that you have read and understand our privacy policy and code of conduct.

Not the answer you're looking for? Browse other questions tagged or ask your own question.