5 months ago

Cannot download excel file on production server but works on local

Posted 5 months ago by alex29

Hello all, I am using this package maatwebsite/excel to export excel files and it works fine on my local machine but stops working on my production server. In the docs, it is stated that the ff should be enabled: php_zip, php_xml, and php_gd2. I am not entirely sure though if I have them enabled but I did however install them with sudo apt-get install php7.2-zip sudo apt-get install php7.2-xml and sudo apt-get install php7.2-gd. Is there anything else I should do? I am also not receiving any errors when triggering the download. In fact, it returns a 200 response.

Please sign in or create an account to participate in this conversation.