Larave 访问空白问题

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/YuYan_wang/article/details/80851661

1、 目录权限

    chmod -R 777 /storage
    chmod -R 777  /bootstrap/cache


2、配置文件

    
    server {
        listen       80;
        server_name  localhost;

        #access_log  logs/host.access.log  main;
        root    "WWW";

        location / {
             index  index.html index.htm index.php l.php;
            autoindex  on;

        } 

       location ~ \.php(.*)$  {

            fastcgi_pass   127.0.0.1:9000;
            fastcgi_index  index.php;
            fastcgi_split_path_info  ^((?U).+\.php)(/?.+)$;
            fastcgi_param  SCRIPT_FILENAME  $document_root$fastcgi_script_name;
            fastcgi_param  PATH_INFO  $fastcgi_path_info;
            fastcgi_param  PATH_TRANSLATED  $document_root$fastcgi_path_info;
            include        fastcgi_params;
        }

3、打开扩展

      php_openssl

猜你喜欢

转载自blog.csdn.net/YuYan_wang/article/details/80851661