0
使用Twig時,我得到權限被拒絕錯誤。這是在我用備份替換「供應商」目錄後開始發生的。更換「供應商」目錄後使用Twig時,權限被拒絕錯誤
Warning: require(vendor/autoload.php): failed to open stream:
Permission denied in /var/www/html/myapp/http/lib.php on line 10
Fatal error: require(): Failed opening required 'vendor/autoload.php'
(include_path='.:/usr/share/php:/usr/share/pear') in
/var/www/html/myapp/http/lib.php on line 10
線路10:
require "vendor/autoload.php";
我猜這個文件夾的權限問題。