简体   繁体   English

AWS EC2 服务器上的 Laravel 开发

[英]Laravel Develoyment on AWS EC2 server

This is the virtualhost configuration.这是虚拟主机配置。 This is not working.这是行不通的。 please help me请帮我

    ServerName example.com
    DocumentRoot /var/www/html/blog/public

    <Directory />
            Options FollowSymLinks
            AllowOverride None
    </Directory>

    <Directory /var/www/html/blog/>
            AllowOverride All
    </Directory>
    ErrorLog ${APACHE_LOG_DIR}/error.log
    CustomLog ${APACHE_LOG_DIR}/access.log combined

most common case after deployment is proper permissions.部署后最常见的情况是适当的权限。 storage and bootstrap should have writeable permissions. storagebootstrap应该具有可写权限。

if the problem not about permissions then check the logs of laravel storage/logs/laravel.log如果问题与权限无关,请检查 laravel storage/logs/laravel.log

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM