出现错误

Warning: require(): open_basedir restriction in effect. File(/xxxx/vendor/autoload.php) is not within the allowed path(s): (/xxxx/public/:/tmp/:/proc/) in /xxxx/public/index.php on line 24

Warning: require(/xxxx/vendor/autoload.php): failed to open stream: Operation not permitted in /xxxx/public/index.php on line 24

Fatal error: require(): Failed opening required '/xxxx/public/../vendor/autoload.php' (include_path='.:/xxx/php') in /xxxx/public/index.php on line 24

解决:

参考 https://lnmp.org/faq/lnmp-vhost-add-howto.html#user.ini

相关文章:

  • 2021-11-30
  • 2021-12-25
  • 2021-04-15
  • 2021-11-08
  • 2021-08-04
  • 2021-11-18
  • 2021-09-13
  • 2021-12-25
猜你喜欢
  • 2021-07-07
  • 2021-05-01
  • 2021-08-09
  • 2021-10-24
  • 2021-11-30
  • 2021-06-17
  • 2021-12-22
  • 2021-11-30
相关资源
相似解决方案