We have lots of files on site available for download, however any fil开发者_开发知识库e above 30mb downloads as a 0kb file. Anything under 30mb downloads fully.
Anyone know if there's a setting in php.ini i need to change in order to resolve this issue?
the property you are looking for is most probably memory_limit
.
You can check this link: http://www.softdwn.com/how-to-increase-the-limit-of-memory-php-and-file-download-and-script-execution-time-limit/
2 Download file size limit value. It provides some clarifications about configuring PHP file download limit, either in
php.ini
file or.htaccess
.
精彩评论