0

I was trying to run this command but the error raised like this

PHP Warning:  require(/var/www/medical/bin/../app/bootstrap.php): Failed to open stream: No such file or directory in /var/www/medical/bin/magento on line 14
PHP Fatal error:  Uncaught Error: Failed opening required '/var/www/medical/bin/../app/bootstrap.php' (include_path='.:/usr/share/php') in /var/www/medical/bin/magento:14
Stack trace:
#0 {main}
  thrown in /var/www/medical/bin/magento on line 14

Please help me on this error..

2 Answers 2

3

It may be files and folder permission issue. so give proper permission by follow this link Magento 2 folder/file permissions then try to run status command.

0

Please give the proper permission to the Magento folder and files.

// 755 permission for directory

find . -type d -exec chmod 755 {} ;

// 644 permission for files

find . -type f -exec chmod 644 {} ;

chmod 644 ./app/etc/*.xml

chmod u+x bin/magento

Your Answer

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

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