-
MODX Staff
- 12,272 Posts
Usually, it’s just shenanigans. In all seriousness, my understanding is that large file transfers over http:// using PHP can be problematic. I hate to suggest it in this case, but I really do think some Googling around would probably be a good start.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me
-
☆ A M B ☆
- 24,524 Posts
The Apache server can also be configured to limit download sizes. Perhaps looking into PHP’s FTP functions would be helpful.
-
☆ A M B ☆
- 2,475 Posts
Yeah, ok... we were hoping not to come to FTP, but the googling I’ve done also suggests that this is simply problematic. Perl anyone?
-
MODX Staff
- 10,725 Posts
If it’s an Internal Server Error, it is most likely an Apache (or PHP) configuration problem (checking the Apache error_log may help here), not a problem with PHP’s readfile function, but I don’t think you need to use the chunk version from the documentation.
-
☆ A M B ☆
- 2,475 Posts
Yeah, I’d like to look at the log file, but it’s on a grid server, and it’s not easy to check (maybe not possible?). This would be much easier to debug on a stand-alone server.