2016-08-04 7 views
1

私はlaravelプロジェクトを持っており、別のサーバーとドメインでそのプロジェクトのコピーを作成したいと考えています。laravelを新しいサーバーに移動

は私がやっていること:

  • が新しいDB
  • 変更DBの設定にDBをエクスポートおよびインポート 新しいサーバーに自分のコンピュータ上で
  • アップロードするすべてのファイルをすべてのファイルをダウンロードin .env

新しいサーバーのpublic_htmlフォルダは、 eフォルダlaravel public_htmlに使用しています。したがって、ファイルとフォルダの構造は元のサーバーと同じにする必要があります。

私は、これは十分なはずと思ったが、私は新しいドメインを訪問したときに私が得るすべてはこれです:

Internal Server Error 

The server encountered an internal error or misconfiguration and was unable to complete your request. 

Please contact the server administrator, [no address given] and inform them of the time the error occurred, and anything you might have done that may have caused the error. 
More information about this error may be available in the server error log. 

Additionally, a 500 Internal Server Error error was encountered while trying to use an ErrorDocument to handle the request. 

可能間違っている可能性が何?

答えて

0

あなたは以下の

sudo chmod 755 -R laravel-project-name   // ur project name 
sudo chmod -R o+w laravel-project-name/storage // same here 

私はuが使用しているバージョンとプラットフォームを求めることができますコマンドを実行しましたか? ubuntuを使用している場合は上記のどちらもGoogleのあなたのものを使用しないでください。

+0

私はSSH接続を持っていないし、ターミナルにアクセスできません、それは必要ですか? – Johan

+0

Laravel 5.1.5をLinuxサーバーにインストールする – Johan

+0

yhea、それを行うかftpを使用してアクセス権を与えたり、サーバーに接続したりする必要があります。 –

関連する問題