0

I have Laravel 5.2 and PHP7.

My host works as it should, except links that generate and download xlsx files using Laravel Excel. These links drop error "This site can’t be reached". All libraries within a project are installed (and I assume that if problem was in libraries, I would get 500s about missing classes or something like that).

Maybe some php extension is missing? What am I doing wrong?

UPD: the excel function itself works correctly, but site crashes on download

Coffee
  • 2,063
  • 8
  • 24
  • 57
  • Found answer here: https://stackoverflow.com/questions/31384472/generating-and-downloading-an-excel-file-generates-a-err-invalid-response – Coffee Oct 10 '17 at 13:15
  • 1
    Possible duplicate of [Generating and downloading an excel file generates a ERR\_INVALID\_RESPONSE](https://stackoverflow.com/questions/31384472/generating-and-downloading-an-excel-file-generates-a-err-invalid-response) – petemir Oct 10 '17 at 18:44

1 Answers1

-1

You should be using laravel homestead to instead missing webserver 1.installed VirtualBox 2.installed Vagrant 3.installed the Homestead Vagrant Box 4.cloned Homestead into my "home" directory 5.ran the bash init.sh command to create my Homestead.yaml file 6.configured my Homestead.yaml file: