【发布时间】:2014-07-09 21:47:19
【问题描述】:
我在将 Laravel 应用程序上传到 GoDaddy 服务器时遇到了问题。我的根位于httpdocs。这是我目前的结构。
/app
/bootstrap
/vendor
/httpdocs --my public folder
.../packages
.../js
.../css
...other files
在我的bootstrap/paths.php 文件中:
'app' => __DIR__.'/../app',
'public' => __DIR__.'/../httpdocs',
'base' => __DIR__.'/..',
在我的index.php 文件中:
require __DIR__.'/../bootstrap/autoload.php';
$app = require_once __DIR__.'/../bootstrap/start.php';
当我浏览到mysubdomain.subdomain.com 时,我收到“内部服务错误”。可能出了什么问题?我正确配置了路径以指向新文件夹。
【问题讨论】:
-
我很愚蠢。我注册了 microsoft 托管而不是 linux。 掌心
标签: php laravel deployment ftp