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!

  • Please give the permission to all root folder. – Payal Patel Nov 1 '18 at 12:25
  • But how can i changes permission in local server? – Pratik Patel Nov 1 '18 at 12:31
0

You need to delete generated folder content.

use below commands --

rm -rf var/cache/* generated/*

chmod -R 777 var/ pub/ generated/

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

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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