# Configuration for Lighttpd fastcgi-php.conf

When using [Lighttpd](https://www.lighttpd.net/) as the server technology, it is necessary to ensure that your fastcgi-php.conf file is configured correctly, otherwise, you may experience problems with file downloads.

In your *fastcgi-php.conf* file, ensure you have *allow-x-send-file* enabled, like so:

```
&quot;allow-x-send-file&quot; =&gt; &quot;enable&quot;
```

If you do not enable *allow-x-send-file*, you may get corrupted file downloads, as detailed in [this support ticket](https://easydigitaldownloads.com/support/topic/downloaded-files-corrupt-2/).