search

Home  >  Q&A  >  body text

php - After installing homestead, after entering the URL, No input file specified is displayed.

黄舟黄舟2856 days ago571

reply all(2)I'll reply

  • 迷茫

    迷茫2017-05-24 11:36:28

    lumen.app/public

    reply
    0
  • 高洛峰

    高洛峰2017-05-24 11:36:28

    Check whether FASTCGI_PARAM PATH_TRANSLATED is configured correctly in the nginx configuration file

    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;
    }

    reply
    0
  • Cancelreply