我有一个laravel项目,并希望在另一个服务器和域上复制它。
我做了什么:
新服务器public_html文件夹是我用于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 :(得分:0)
您是否运行了以下命令
sudo chmod 755 -R laravel-project-name // ur project name
sudo chmod -R o+w laravel-project-name/storage // same here
我可以问你使用哪个版本和平台? 如果您使用ubuntu使用上述内容,请不要使用谷歌。