I asked my VPS hosting provider to install mod_xsendfile. Here is what I got in response: "I am sorry that I forgot to respond about mod_xsendfile. My research shows that the module has not been developed in over 4 years. Here is the developers website:
https://tn123.org/mod_xsendfile/
I would not suggest installing an Apache modules that has not kept pace with the develpment of Apache. In addition, the version of Apache is 2.4 on your server so it is most likely not compatible."
I would like to know, if mod_sendfile works fine on Apache 2.4. If not, are there other alternatives except readfile
in PHP, as I want users to be able to download large files with authorization.