1.Open-> bootstrap (folder) ->app.php (file)
change existing realpath to realpath(__DIR__.'/../')
2. take all the contents of "public" folder to the project root folder
3. open index.php in project root folder -> change existing code to "require __DIR__.'/bootstrap/autoload.php';"
4. change existing code to $app = require_once __DIR__.'/bootstrap/app.php';
1 回答
请尝试以下方法 .
这与文件权限或任何事情无关 .
我希望这可以解决你的问题 .