我一直在嘗試在nginx上安裝CakePHP,但我已經遇到了一個死衚衕。嘗試訪問Web根時,我收到500內部服務器錯誤。我得到這個錯誤在我的error.log:CakePHP + nginx 500內部服務器錯誤
PHP message: PHP Fatal error: require(): Failed opening required '/var/www/html/test/vendor/autoload.php' (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/html/test/config/bootstrap.php on line 23" while reading response header from upstream, client: , server: example.com, request: "GET/HTTP/1.1", upstream: "fastcgi://unix:/var/run/php5-fpm.sock:", host: "example.com"
如果任何人都可以闡明這一點,這將是偉大的。謝謝!
這說明了一切:無法打開需要'/var/www/html/test/vendor/autoload.php – MrTechie
錯誤的安裝+沒有權限=內部服務器錯誤 –
是的我很困惑,爲什麼我錯過了它,@ MrTechie – mattrick